diff options
author | Takashi Iwai <tiwai@suse.de> | 2016-04-21 17:37:54 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-05-10 12:20:18 -0400 |
commit | 14e3f70aa72393b31d4775292ef7bdeb56c088cc (patch) | |
tree | e40f86eeb49f7df478d0428784c2d71a95a0e0ac /sound | |
parent | 561c943e1709fe80588f21bdc2e2badc69540ead (diff) | |
download | lwn-14e3f70aa72393b31d4775292ef7bdeb56c088cc.tar.gz lwn-14e3f70aa72393b31d4775292ef7bdeb56c088cc.zip |
ALSA: pcxhr: Fix missing mutex unlock
[ Upstream commit 67f3754b51f22b18c4820fb84062f658c30e8644 ]
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
Cc: <stable@vger.kernel.org> # 3.18+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
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 a584acb61c00..874591e18b3e 100644 --- a/sound/pci/pcxhr/pcxhr_core.c +++ b/sound/pci/pcxhr/pcxhr_core.c @@ -1339,5 +1339,6 @@ irqreturn_t pcxhr_threaded_irq(int irq, void *dev_id) } pcxhr_msg_thread(mgr); + mutex_unlock(&mgr->lock); return IRQ_HANDLED; } |