mirror of https://github.com/thesofproject/sof.git
drc: Clean up source_format on component reset
Clean up all contents in component data on reset(). Signed-off-by: Pin-chih Lin <johnylin@google.com>
This commit is contained in:
parent
b63b8e992b
commit
c9bed91e6d
|
@ -442,6 +442,7 @@ static int drc_reset(struct comp_dev *dev)
|
||||||
|
|
||||||
drc_reset_state(&cd->state);
|
drc_reset_state(&cd->state);
|
||||||
|
|
||||||
|
cd->source_format = 0;
|
||||||
cd->drc_func = NULL;
|
cd->drc_func = NULL;
|
||||||
|
|
||||||
comp_set_state(dev, COMP_TRIGGER_RESET);
|
comp_set_state(dev, COMP_TRIGGER_RESET);
|
||||||
|
|
Loading…
Reference in New Issue