]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: Add missing mutex unlock
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 8 May 2015 09:50:10 +0000 (10:50 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 8 May 2015 10:24:22 +0000 (11:24 +0100)
commit6a72e0c3070979d651a36d7b1a1fa14cfb02d3fe
tree3bd9169dd5032e23e5e480719acaab90fa9779ad
parent7f64aa60f3423eeec907afce597e819b1d5fad5d
ASoC: dapm: Add missing mutex unlock

The is a missing mutex unlock on the error path in
snd_soc_dapm_get_enum_double. This was introduced in commit
b7db4a71973b ("ASoC: dapm: Add support for autodisable mux controls").
This patch adds the missing unlock.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c