]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek: Add quirk for TongFang PHxTxX1
authorWerner Sembach <wse@tuxedocomputers.com>
Wed, 6 Oct 2021 13:04:15 +0000 (15:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Oct 2021 13:59:29 +0000 (15:59 +0200)
commitea524114ebbd12e98a14b054fc1388da62ad483b
tree38b70305bb8a7ecfa536ee224780912529eaf72e
parent18a563db2f4731ab5382869ce5de892a349c8e07
ALSA: hda/realtek: Add quirk for TongFang PHxTxX1

This applies a SND_PCI_QUIRK(...) to the TongFang PHxTxX1 barebone. This
fixes the issue of the internal Microphone not working after booting
another OS.

When booting a certain another OS this barebone keeps some coeff settings
even after a cold shutdown. These coeffs prevent the microphone detection
from working in Linux, making the Laptop think that there is always an
external microphone plugged-in and therefore preventing the use of the
internal one.

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/20211006130415.538243-1-wse@tuxedocomputers.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c