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)
Add the missing unlock before return from function
snd_cs4231_playback_prepare() in the error handling
case.

Fixes: 5a19b178d7b4 ('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>

No differences found