diff options
author | Cezary Rojewski <[email protected]> | 2020-09-07 13:19:39 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-09-07 12:40:24 +0100 |
commit | 20244b2a8a8728c63233d33146e007dcacbcc5c4 (patch) | |
tree | f08e0ec5aba698aa817653a84c23cd6d378c43b0 /tools/perf/util/trace-event-scripting.c | |
parent | 6a0137101f47301fff2da6ba4b9048383d569909 (diff) |
ASoC: core: Do not cleanup uninitialized dais on soc_pcm_open failure
Introduce for_each_rtd_dais_rollback macro which behaves exactly like
for_each_codec_dais_rollback and its cpu_dais equivalent but for all
dais instead.
Use newly added macro to fix soc_pcm_open error path and prevent
uninitialized dais from being cleaned-up.
Signed-off-by: Cezary Rojewski <[email protected]>
Fixes: 5d9fa03e6c35 ("ASoC: soc-pcm: tidyup soc_pcm_open() order")
Acked-by: Liam Girdwood <[email protected]>
Acked-by: Kuninori Morimoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions