Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 415bb7e3 authored by Banajit Goswami's avatar Banajit Goswami
Browse files

ASoC: msm: release mutex before calling snd_soc_dapm_sync



When calling snd_soc_dapm_sync(), it eventually tries to
lock the same mutex already locked in the machine driver
and deadlock might occur because of this. By moving the
mutex unlock to just before snd_soc_dapm_sync(), this
possible deadlock is prevented.
This problem was introduced in Linux 3.5.

Reference commit: 2894770e
for sound/soc/codecs/tlv320aic3x.c
[ASoC: tlv320aic3x: Remove deadlock from snd_soc_dapm_put_volsw_aic3x()]

Change-Id: I6291d4dc4d9848fbf3cf5d89c42530343b138255
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
parent 773c2fbd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment