Messages in this thread Patch in this message |  | | | From | Jiri Slaby <> | | Subject | [PATCH 2/2] sound: mixart, fix lock imbalance | | Date | Wed, 11 Mar 2009 20:11:41 +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: Jaroslav Kysela <perex@perex.cz> Cc: Takashi Iwai <tiwai@suse.de> --- 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 a593686..82bc5b9 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; } -- 1.6.2 caught by stanse
|  |