From: Andreas Irestål Date: Wed, 5 Jun 2013 06:49:47 +0000 (+0200) Subject: ASoC: tlv320aic3x: Remove deadlock from snd_soc_dapm_put_volsw_aic3x() X-Git-Tag: v3.10-rc6~15^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2894770ec17ff732f911c8495ae0504f06a5dad5;p=pandora-kernel.git ASoC: tlv320aic3x: Remove deadlock from snd_soc_dapm_put_volsw_aic3x() When calling snd_soc_dapm_sync(), it eventually tries to lock the same mutex already locked in snd_soc_dapm_put_volsw_aic3x() and a deadlock occurs. By moving the mutex unlock to just before snd_soc_dapm_sync(), this deadlock is prevented. This problem was introduced in Linux 3.5 Signed-off-by: Andreas Irestål Signed-off-by: Mark Brown --- Reading git-diff-tree failed