ASoC: SOF: keep prepare/unprepare widgets in sink path
The existing code return when a widget doesn't need to prepare/unprepare. This will prevent widgets in the sink path from being prepared/unprepared.
Signed-off-by: Bard Liao [email protected]
Fixes: #4021
Thanks @ranj063 for finding this issue.
PR test result: https://sof-ci.01.org/linuxpr/PR4022/build2014/devicetest/index.html
@bardliao can you please take a look at the IPC4 device test failures
SOFCI TEST
PR test looks good now. https://sof-ci.01.org/linuxpr/PR4022/build2160/devicetest/index.html https://sof-ci.01.org/linuxpr/PR4022/build2159/devicetest/index.html