Skip to contentSkip to conversation

Patch "ALSA: pcxhr: Fix missing mutex unlock" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message May 1, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ALSA: pcxhr: Fix missing mutex unlock

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
alsa-pcxhr-fix-missing-mutex-unlock.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 67f3754b51f22b18c4820fb84062f658c30e8644 Mon Sep 17 00:00:00 2001

From: Takashi Iwai <[email protected]>
Date: Thu, 21 Apr 2016 17:37:54 +0200
Subject: ALSA: pcxhr: Fix missing mutex unlock

From: Takashi Iwai <[email protected]>

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

---
 sound/pci/pcxhr/pcxhr_core.c |    1 +
 1 file changed, 1 insertion(+)
sound/pci/pcxhr/pcxhr_core.c +1 -0
@@ -1341,5 +1341,6 @@ irqreturn_t pcxhr_threaded_irq(int irq,
 	}
 
 	pcxhr_msg_thread(mgr);
+	mutex_unlock(&mgr->lock);
 	return IRQ_HANDLED;
 }

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/alsa-pcxhr-fix-missing-mutex-unlock.patch queue-4.4/alsa-hda-add-dock-support-for-thinkpad-x260.patch queue-4.4/alsa-hda-keep-powering-up-adcs-on-cirrus-codecs.patch queue-4.4/alsa-hda-add-pci-id-for-intel-broxton-t.patch queue-4.4/alsa-hda-don-t-trust-the-reported-actual-power-state.patch queue-4.4/alsa-hda-realtek-add-alc3234-headset-mode-for-optiplex-9020m.patch