]> git.karo-electronics.de Git - linux-beck.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)
commit964a0b896a7c78622801afcee77ed3d240352747
tree3bd9169dd5032e23e5e480719acaab90fa9779ad
parentd714f97c5b8c4c5da56b89a7289acb3f12ef7abb
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
561ed680b764 ("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