projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9105459
)
ALSA: mixart, fix lock imbalance
author
Jiri Slaby
<jirislaby@gmail.com>
Wed, 11 Mar 2009 19:11:41 +0000
(20:11 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 18 Mar 2009 07:03:49 +0000
(08:03 +0100)
There is an omitted unlock in one snd_mixart_hw_params fail path. Fix it.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/mixart/mixart.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/mixart/mixart.c
b/sound/pci/mixart/mixart.c
index f23a73577c2219cb7da2b03317bf1106b7e1f981..bb162507fe6c7b20166198fbcf6afd7d9baac042 100644
(file)
--- a/
sound/pci/mixart/mixart.c
+++ b/
sound/pci/mixart/mixart.c
@@
-607,6
+607,7
@@
static int snd_mixart_hw_params(struct snd_pcm_substream *subs,
/* set the format to the board */
err = mixart_set_format(stream, format);
if(err < 0) {
+ mutex_unlock(&mgr->setup_mutex);
return err;
}