Commit ac608e9
committed
audio: eq_fir: Remove unnecessary COMP_TRIGGER_RESET in prepare()
When the module's prepare() returns an error, the module adapter
propagates the error to the pipeline without advancing the component
state past READY. There is nothing to reset, so the explicit
comp_set_state(dev, COMP_TRIGGER_RESET) on the error paths in
eq_fir_prepare() is redundant. Drop it to match eq_iir and the other
modules.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>1 parent abf857f commit ac608e9
1 file changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
453 | | - | |
| 452 | + | |
454 | 453 | | |
455 | | - | |
456 | 454 | | |
457 | 455 | | |
458 | 456 | | |
| |||
473 | 471 | | |
474 | 472 | | |
475 | 473 | | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | 474 | | |
480 | 475 | | |
481 | 476 | | |
| |||
0 commit comments