Commit 82f5d57163abed2e5ff271d03217b6f90c616eb8

Authored by Jiri Slaby
Committed by Takashi Iwai
1 parent 91054598f7

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

sound/pci/mixart/mixart.c
... ... @@ -607,6 +607,7 @@
607 607 /* set the format to the board */
608 608 err = mixart_set_format(stream, format);
609 609 if(err < 0) {
  610 + mutex_unlock(&mgr->setup_mutex);
610 611 return err;
611 612 }
612 613