diff options
author | Rander Wang <[email protected]> | 2022-09-20 17:01:06 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-09-20 19:07:33 +0100 |
commit | ce59804d26432d7e2c1a8c906245a230a2b4505c (patch) | |
tree | 03102a8d50463aceea7b16abc915951f41f55fee /tools/perf/scripts/python | |
parent | 9f27530a7357c69865da6177db02d3eb230c33a1 (diff) |
ASoC: SOF: clear prepare state when widget is unprepared
Playback can't work after the first try sometimes. The reason is that
some widgets don't have ipc_unprepare ops and driver will jump
to sink_prepare so miss to set prepare state to false. Next
time these widgets will not be prepared and it will result to
error with different format of audio file since the last setting
is not applicable.
This patch makes sure that widget prepare state will be cleared
to false when it is unprepared.
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Signed-off-by: Rander Wang <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions