]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/ca0132 - Fix work handling in delayed HP detection
authorTakashi Iwai <tiwai@suse.de>
Fri, 13 Dec 2019 08:51:11 +0000 (09:51 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 14 Dec 2019 17:54:18 +0000 (18:54 +0100)
commit2913464d37342b629ce60666127e2af9d7e49bb8
treedfaf5c08f18f5a4de68e849aa63e9154e21dada8
parent18152332d99b9672a4d0ecb8866934e68035e4b7
ALSA: hda/ca0132 - Fix work handling in delayed HP detection

CA0132 has the delayed HP jack detection code that is invoked from the
unsol handler, but it does a few weird things: it contains the cancel
of a work inside the work handler, and yet it misses the cancel-sync
call at (runtime-)suspend.  This patch addresses those issues.

Fixes: a86cd2803b73 ("ALSA: hda/ca0132 - Fix possible workqueue stall")
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20191213085111.22855-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c