[PATCH] ASoC: soc-compress: Reposition and add pcm_mutex
Krzysztof Kozlowski
krzk at kernel.org
Mon Dec 5 10:48:32 CET 2022
On 05/12/2022 08:46, 강신형 wrote:
> From a385cc2614c17ba3002b263c0ca47dfbf6395c78 Mon Sep 17 00:00:00 2001
> From: "s47.kang" <s47.kang at samsung.com>
> Date: Fri, 2 Dec 2022 15:45:16 +0900
> Subject: [PATCH] ASoC: soc-compress.c: Reposition and add pcm_mutex.
This does not match your subject... and having subject twice is also
confusing. Please fix your mailer.
Additionally, this is like third patch, right? So please mark it as v3
(git format-patch helps in this).
>
> If panic_on_warn is set and compress stream(DPCM) is started,
> then kernel panic will occurs because card->pcm_mutex isn't held
> appropriately in
So the problem is panic_on_warn or wrong synchronization? It's the
second, so skip unrelated information and instead describe the real
problem, e.g. what exactly lockdep reported.
> soc_compr_set_params_fe, soc_compr_open_fe and soc_compr_free_fe.
> So, I reposition and add pcm_mutex to resolve lockdep error.
>
> Signed-off-by: Shinhyung Kang <s47.kang at samsung.com>
> ---
> sound/soc/soc-compress.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
Best regards,
Krzysztof
More information about the Alsa-devel
mailing list