]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcxhr: Fix missing mutex unlock
authorTakashi Iwai <tiwai@suse.de>
Thu, 21 Apr 2016 15:37:54 +0000 (17:37 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 21 Apr 2016 15:37:54 +0000 (17:37 +0200)
commit97aa472c2e0cc527fc1eeb9a548a27db04c0ae6f
tree4266948a51f469278841d41065aabb61363a2277
parent01b162e0072d306a04e4568f01cf13c274c6eb2c
ALSA: pcxhr: Fix missing mutex unlock

The commit [bf42280d8acb: 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: bf42280d8acb ('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>
sound/pci/pcxhr/pcxhr_core.c