Input - arizona-haptics: Fix double lock of dapm_mutex
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 18 Feb 2014 15:22:12 +0000 (15:22 +0000)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 09:37:13 +0000 (18:37 +0900)
commitc4204960e9d0ba99459dbf1db918f99a45e7a62a
tree1c7078e042f3620fa45f0d04c5ea7552efc0d348
parent30686c350628a68852f8abd67557aecb137789d5
Input - arizona-haptics: Fix double lock of dapm_mutex

snd_soc_dapm_sync takes the dapm_mutex internally, but we currently take
it externally as well. This patch fixes this.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
drivers/input/misc/arizona-haptics.c