]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pci/mixart/mixart.c
Merge branch 'topic/snd_card_new-err' into for-linus
[linux-2.6-omap-h63xx.git] / sound / pci / mixart / mixart.c
index bfc19e36c4b698ac3798c91b2567512984b3148e..c1eb84a14c4264f0c35728675cba420d927daf1a 100644 (file)
@@ -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;
        }