ALSA: pcxhr: Fix missing mutex unlock
authorTakashi Iwai <tiwai@suse.de>
Thu, 21 Apr 2016 15:37:54 +0000 (17:37 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 10 May 2016 16:17:31 +0000 (12:17 -0400)
commitfaaa136bc7a4ed96ffe9585b495ec8bfac0032a8
treef295f080a1ddbfe2c2fc7ff64afa94d162069b9b
parent28f83d2daecd97392c9a0580c00853a19a76a8bc
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>
sound/pci/pcxhr/pcxhr_core.c