]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/ca0132 - Avoid endless loop
authorTakashi Iwai <tiwai@suse.de>
Fri, 13 Dec 2019 08:51:10 +0000 (09:51 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 14 Dec 2019 17:54:07 +0000 (18:54 +0100)
commit194db21c1105718cc36a25a15f4ef4096b48d5b5
tree2c1c600c10d00a85eae16e1e726657c18fdda807
parentbb72d28a57a4484e7a8dd0ff4cd6b8e042543234
ALSA: hda/ca0132 - Avoid endless loop

Introduce a timeout to dspio_clear_response_queue() so that it won't
be caught in an endless loop even if the hardware doesn't respond
properly.

Fixes: 6805a7894826 ("ALSA: hda/ca0132: Add unsol handler for DSP and jack detection")
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20191213085111.22855-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c