Commit 76fcf197 authored by yixuanjiang's avatar yixuanjiang Committed by Todd Kjos
Browse files

UPSTREAM: ASoC: soc-compress: Fix deadlock in soc_compr_open_fe



[ Upstream commit 22222147 ]

Modify the error handling flow by release lock.
The require mutex will keep holding if open fail.

Fixes: aa9ff6a4 ("ASoC: soc-compress: Reposition and add pcm_mutex")
Signed-off-by: default avataryixuanjiang <yixuanjiang@google.com>
Link: https://lore.kernel.org/r/20230619033127.2522477-1-yixuanjiang@google.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>

Bug: 303236405
Change-Id: Ib7350b211390b7c2730fc99d6e87d41fe9d3a87f
Signed-off-by: default avatarYixuan Jiang <yixuanjiang@google.com>
parent 7f194d67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment