[PATCH] [RFC] ASoC: core: Do not cleanup uninitialized dais on soc_pcm_open failure

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Mon Sep 7 01:13:27 CEST 2020


Hi Cezary

> 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 <cezary.rojewski at intel.com>
> ---

Thank you for your patch

Acked-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>


Thank you for your help !!

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list