diff options
author | Takashi Iwai <tiwai@suse.de> | 2016-04-21 18:37:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-05-05 00:48:43 +0300 |
commit | 519aef523513a58f958e0aa432855e7b2a57a611 (patch) | |
tree | 6ad4f886949eb95425c81ea2202f95fa4a8452da /sound | |
parent | 79dc55bd02a8dc0b6adf7598c4f8a7356594c363 (diff) | |
download | linux-519aef523513a58f958e0aa432855e7b2a57a611.tar.xz |
ALSA: pcxhr: Fix missing mutex unlock
commit 67f3754b51f22b18c4820fb84062f658c30e8644 upstream.
The commit [9bef72bdb26e: ALSA: pcxhr: Use nonatomic PCM ops]
converted to non-atomic PCM ops, but shamelessly with an unbalanced
mutex locking, which leads to the hangup easily. Fix it.
Fixes: 9bef72bdb26e ('ALSA: pcxhr: Use nonatomic PCM ops')
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=116441
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/pcxhr/pcxhr_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/pcxhr/pcxhr_core.c b/sound/pci/pcxhr/pcxhr_core.c index c5194f5b150a..d7e71f309299 100644 --- a/sound/pci/pcxhr/pcxhr_core.c +++ b/sound/pci/pcxhr/pcxhr_core.c @@ -1341,5 +1341,6 @@ irqreturn_t pcxhr_threaded_irq(int irq, void *dev_id) } pcxhr_msg_thread(mgr); + mutex_unlock(&mgr->lock); return IRQ_HANDLED; } |