mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V0 0/1] ASoC: soc-compress: Fix and add missing DPCM locking
@ 2024-03-06 10:53 Shalini Manjunatha
  2024-03-06 10:53 ` [PATCH V0 1/1] ASoC: soc-compress: Fix and add " Shalini Manjunatha
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Shalini Manjunatha @ 2024-03-06 10:53 UTC (permalink / raw)
  To: Vinod Koul, Liam Girdwood, Mark Brown, Jaroslav Kysela,
	Takashi Iwai, Raghu Bankapur, alsa-devel, linux-sound,
	Shalini Manjunatha, linux-kernel
  Cc: Krishna Jha

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-03-18 17:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-06 10:53 [PATCH V0 0/1] ASoC: soc-compress: Fix and add missing DPCM locking Shalini Manjunatha
2024-03-06 10:53 ` [PATCH V0 1/1] ASoC: soc-compress: Fix and add " Shalini Manjunatha
2024-03-06 13:03 ` [PATCH V0 0/1] ASoC: soc-compress: Fix and add missing " Mark Brown
2024-03-06 14:26 ` Vinod Koul
2024-03-06 16:17   ` Mark Brown
2024-03-18 17:05 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®