Reset sink_format at rtnr_reset()

Signed-off-by: Ming Jen Tai <mingjen_tai@realtek.com>
This commit is contained in:
Ming Jen Tai 2021-08-25 09:23:00 +08:00 committed by Liam Girdwood
parent 7df367451d
commit a226f0b012
1 changed files with 1 additions and 0 deletions

View File

@ -603,6 +603,7 @@ static int rtnr_reset(struct comp_dev *dev)
struct comp_data *cd = comp_get_drvdata(dev);
comp_info(dev, "rtnr_reset()");
cd->sink_format = 0;
cd->rtnr_func = NULL;
comp_set_state(dev, COMP_TRIGGER_RESET);
return 0;