]> www.infradead.org Git - users/willy/xarray.git/commit
ALSA: hda: conexant: Fix headset auto detect fail in the polling mode
authorsongxiebing <songxiebing@kylinos.cn>
Fri, 26 Jul 2024 10:07:26 +0000 (18:07 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 26 Jul 2024 14:17:27 +0000 (16:17 +0200)
commite60dc98122110594d0290845160f12916192fc6d
tree475c739d006eeb811297f19637d9cf48e91d7d7c
parente8b96a66ae01d039699bac256c5b6b30b2284170
ALSA: hda: conexant: Fix headset auto detect fail in the polling mode

The previous fix (7aeb25908648) only handles the unsol_event reporting
during interrupts and does not include the polling mode used to set
jackroll_ms, so now we are replacing it with
snd_hda_jack_detect_enable_callback.

Fixes: 7aeb25908648 ("ALSA: hda/conexant: Fix headset auto detect fail in cx8070 and SN6140")
Co-developed-by: bo liu <bo.liu@senarytech.com>
Signed-off-by: bo liu <bo.liu@senarytech.com>
Signed-off-by: songxiebing <songxiebing@kylinos.cn>
Link: https://patch.msgid.link/20240726100726.50824-1-soxiebing@163.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_conexant.c