mirror of https://github.com/thesofproject/sof.git
Reset sink_format at rtnr_reset()
Signed-off-by: Ming Jen Tai <mingjen_tai@realtek.com>
This commit is contained in:
parent
7df367451d
commit
a226f0b012
|
@ -603,6 +603,7 @@ static int rtnr_reset(struct comp_dev *dev)
|
||||||
struct comp_data *cd = comp_get_drvdata(dev);
|
struct comp_data *cd = comp_get_drvdata(dev);
|
||||||
|
|
||||||
comp_info(dev, "rtnr_reset()");
|
comp_info(dev, "rtnr_reset()");
|
||||||
|
cd->sink_format = 0;
|
||||||
cd->rtnr_func = NULL;
|
cd->rtnr_func = NULL;
|
||||||
comp_set_state(dev, COMP_TRIGGER_RESET);
|
comp_set_state(dev, COMP_TRIGGER_RESET);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue