]> www.infradead.org Git - users/dwmw2/linux.git/commit
ALSA: hda: Poll jack events for LS7A HD-Audio
authorHuacai Chen <chenhuacai@loongson.cn>
Fri, 15 Nov 2024 15:06:53 +0000 (23:06 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Nov 2024 13:40:01 +0000 (14:40 +0100)
commite3f8064d8b29036f037fd1ff6000e5d959d84843
tree1754cf58f41f2218ee77066d7b370002b04edfd1
parent40d6b7e0f42d15c7338824d15fa39bf926a39cf4
ALSA: hda: Poll jack events for LS7A HD-Audio

LS7A HD-Audio disable interrupts and use polling mode due to hardware
drawbacks. As a result, unsolicited jack events are also unusable. If
we want to support headphone hotplug, we need to also poll jack events.

Here we use 1500ms as the poll interval if no module parameter specify
it.

Cc: stable@vger.kernel.org
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Link: https://patch.msgid.link/20241115150653.2819100-1-chenhuacai@loongson.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c