diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-03-11 20:11:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-23 14:55:24 -0700 |
commit | 8910212c174ef3e196510e16726fecb2dfe5859d (patch) | |
tree | cc931150de531169bd1813d5232a6f4bb3636de7 /sound/pci | |
parent | 21c1a226c542d4dd3bd7e0c69a3f9b6d34e37392 (diff) | |
download | linux-stable-8910212c174ef3e196510e16726fecb2dfe5859d.tar.gz |
ALSA: mixart, fix lock imbalance
commit 82f5d57163abed2e5ff271d03217b6f90c616eb8 upstream.
There is an omitted unlock in one snd_mixart_hw_params fail path. Fix it.
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>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/mixart/mixart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c index ae7601f353a7..f342def4c938 100644 --- 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; } |