]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: sparc: fix missing unlock on error in snd_cs4231_playback_prepare()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 11 Nov 2013 14:21:33 +0000 (22:21 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Nov 2013 15:23:16 +0000 (16:23 +0100)
commitd5c94be0af6c77b1382db313b3975b0382b9d6d0
tree9cd9f92b4a89810b62f993a29a3bd56f99d0e0d4
parente28f0c16edc8993b6954feccb67505ab1d01bdc0
ALSA: sparc: fix missing unlock on error in snd_cs4231_playback_prepare()

Add the missing unlock before return from function
snd_cs4231_playback_prepare() in the error handling
case.

Fixes: b1e5e5af055a ('ALSA: sparc/cs4231: Use WARN_ON() instead of BUG_ON()')
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/sparc/cs4231.c