Skip to content

ASoC: soc-compress: Fix and add missing DPCM locking

Shalini Manjunatha alsa-devel linux-sound lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v0 Latest1 patch 4 repliesIn review

Patches in v0 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1ASoC: soc-compress: Fix and add DPCM lockingsound/soc/soc-compress.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v0 yet.

Read the v0 thread

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

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(+)
Signature · 1 line
2.7.4