]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek: Add quirk for ASRock NUC Box 1100
authorWerner Sembach <wse@tuxedocomputers.com>
Fri, 12 Nov 2021 11:07:04 +0000 (12:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Dec 2021 08:04:40 +0000 (09:04 +0100)
commit5c7996f8ea0588c4da8289d2f3a7c35d2910a277
tree212b8235e0b30975503cf9a5224c19330f1d7ada
parentad398554b7e735c22c67364b4fb4296200b15ef4
ALSA: hda/realtek: Add quirk for ASRock NUC Box 1100

commit 7e563acf7049ec3b9a8eb88e955aa50ef6cbe8af upstream.

This applies a SND_PCI_QUIRK(...) to the ASRock NUC Box 1100 series. This
fixes the issue of the headphone jack not being detected unless warm
rebooted from a certain other OS.

When booting a certain other OS some coeff settings are changed that enable
the audio jack. These settings are preserved on a warm reboot and can be
easily dumped.

The relevant indexes and values where gathered by naively diff-ing and
reading a working and a non-working coeff dump.

Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20211112110704.1022501-1-wse@tuxedocomputers.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c