ASoC: dapm: release lock on error paths
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Apr 2012 19:25:43 +0000 (22:25 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 15 Apr 2012 09:46:17 +0000 (10:46 +0100)
commit60884c2767e0d9314a49e1ee7a0661b3464989c1
treeb338cecff2eb570ca588facebf3e19f493a8308e
parent7203a62562dc45dcd69339d4553fb85453d6b587
ASoC: dapm: release lock on error paths

We added locking here but there were a couple error paths where we
forgot to drop the lock before returning.

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