ALSA: pcm_oss, fix locking typo
authorJiri Slaby <jirislaby@gmail.com>
Wed, 11 Mar 2009 19:11:40 +0000 (20:11 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 18 Mar 2009 07:03:33 +0000 (08:03 +0100)
commit91054598f794fb5d8a0b1e747ff8e2e8fc2115b3
tree7a82fa372c75662e24d873f425980014841d9043
parent36c7b833e5d2501142a371e4e75281d3a29fbd6b
ALSA: pcm_oss, fix locking typo

s/mutex_lock/mutex_unlock/ on 2 fail paths in snd_pcm_oss_proc_write.
Probably a typo, lock should be unlocked when leaving the function.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/oss/pcm_oss.c