[PATCH V0 0/1] ASoC: soc-compress: Fix and add missing DPCM locking

From: Shalini Manjunatha
Date: Wed Mar 06 2024 - 05:54:52 EST


We find mising DPCM locking inside soc_compr_set_params_fe()
before calling dpcm_be_dai_hw_params() and dpcm_be_dai_prepare()
which cause lockdep assert for DPCM lock not held in
__soc_pcm_hw_params() and __soc_pcm_prepare() in above flow
when ever we play compress offload audio playback use case.

To fix this issue added DPCM lock and unlock in both places of
above code flow mentioned.

Shalini Manjunatha (1):
ASoC: soc-compress: Fix and add DPCM locking

sound/soc/soc-compress.c | 4 ++++
1 file changed, 4 insertions(+)

--
2.7.4