diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-03-11 20:11:41 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-03-18 08:03:49 +0100 |
commit | 82f5d57163abed2e5ff271d03217b6f90c616eb8 (patch) | |
tree | 7831a13b62ad7d215dae78e8c94d8ea8241a0fc1 /sound/pci/mixart/mixart.c | |
parent | 91054598f794fb5d8a0b1e747ff8e2e8fc2115b3 (diff) | |
download | blackbird-op-linux-82f5d57163abed2e5ff271d03217b6f90c616eb8.tar.gz blackbird-op-linux-82f5d57163abed2e5ff271d03217b6f90c616eb8.zip |
ALSA: mixart, fix lock imbalance
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>
Diffstat (limited to 'sound/pci/mixart/mixart.c')
-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 f23a73577c22..bb162507fe6c 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; } |