ALSA: pcm_oss, fix locking typo
commit94dc1155bafe2eebb97e5d591904fad6add37f83
authorJiri Slaby <jirislaby@gmail.com>
Wed, 11 Mar 2009 19:11:40 +0000 (11 20:11 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 23 Mar 2009 21:59:58 +0000 (23 14:59 -0700)
tree3d200d81c47352f63f4a30fb484d9d4ab3461265
parent3e5c20fcaa584230da862c094bec61a6c44b34a6
ALSA: pcm_oss, fix locking typo

commit 91054598f794fb5d8a0b1e747ff8e2e8fc2115b3 upstream.

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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/core/oss/pcm_oss.c