Skip to content
Commit 3bcc859d authored by yixuanjiang's avatar yixuanjiang Committed by Xiaolei Wang
Browse files

LF-9073 ASoC: soc-compress: Fix deadlock in soc_compr_open_fe

commit  71d8f04a1b08413e0fb6a8c370819b9f44126544 from
https://github.com/nxp-imx/linux-imx lf-6.1.y

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>
(cherry picked from commit 22222147

)
Reviewed-by: default avatarIuliana Prodan <iuliana.prodan@nxp.com>
Signed-off-by: default avatarXiaolei Wang <xiaolei.wang@windriver.com>
parent d54e8808
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment