]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: pcxhr: Fix missing mutex unlock
authorTakashi Iwai <tiwai@suse.de>
Thu, 21 Apr 2016 15:37:54 +0000 (17:37 +0200)
committerDhaval Giani <dhaval.giani@oracle.com>
Fri, 20 Jan 2017 22:21:50 +0000 (17:21 -0500)
commit73f20d9324facbb11d030279f37a96fc7b21152d
tree08fd36e882885e39ba094771e11a3878ee7467e6
parent036e7f17854a404bc8c39d495584de7dfd89bc1b
ALSA: pcxhr: Fix missing mutex unlock

Orabug: 25227132

[ 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>
(cherry picked from commit faaa136bc7a4ed96ffe9585b495ec8bfac0032a8)

Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
sound/pci/pcxhr/pcxhr_core.c