ASoC: Fix snd_soc_{new,free}_ac97_codec() locking removal
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 23 Sep 2014 02:15:48 +0000 (04:15 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 23 Sep 2014 13:45:06 +0000 (14:45 +0100)
commit8c8f2f6fc1c8eec9e14810f21386fe295a42a40f
treecc10dfbfcfe1c855a313da1168b3d4405f2665ac
parente3f205a72c4554b58f51d5afd98195c4ff54d215
ASoC: Fix snd_soc_{new,free}_ac97_codec() locking removal

Commit e3f205a72c45 ("ASoC: Remove locking in
snd_soc_{new,free}_ac97_codec()") overlooked a unlock on one of the error
paths.

Fixes: e3f205a72c45 ("ASoC: Remove locking in snd_soc_{new,free}_ac97_codec()")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c