Skip to content

Commit 7c9caa2

Browse files
kovalev0tiwai
authored andcommitted
ALSA: hda - Fix speaker and headset mic pin config for CHUWI CoreBook XPro
This patch corrected the speaker and headset mic pin config to the more appropriate values. Signed-off-by: Vasiliy Kovalev <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 98b1cc8 commit 7c9caa2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7249,6 +7249,7 @@ enum {
72497249
ALC290_FIXUP_SUBWOOFER_HSJACK,
72507250
ALC269_FIXUP_THINKPAD_ACPI,
72517251
ALC269_FIXUP_DMIC_THINKPAD_ACPI,
7252+
ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO,
72527253
ALC255_FIXUP_ACER_MIC_NO_PRESENCE,
72537254
ALC255_FIXUP_ASUS_MIC_NO_PRESENCE,
72547255
ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
@@ -7601,6 +7602,14 @@ static const struct hda_fixup alc269_fixups[] = {
76017602
.type = HDA_FIXUP_FUNC,
76027603
.v.func = alc269_fixup_pincfg_U7x7_headset_mic,
76037604
},
7605+
[ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO] = {
7606+
.type = HDA_FIXUP_PINS,
7607+
.v.pins = (const struct hda_pintbl[]) {
7608+
{ 0x18, 0x03a19020 }, /* headset mic */
7609+
{ 0x1b, 0x90170150 }, /* speaker */
7610+
{ }
7611+
},
7612+
},
76047613
[ALC269_FIXUP_AMIC] = {
76057614
.type = HDA_FIXUP_PINS,
76067615
.v.pins = (const struct hda_pintbl[]) {
@@ -10244,6 +10253,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
1024410253
SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC),
1024510254
SND_PCI_QUIRK(0x1d72, 0x1945, "Redmi G", ALC256_FIXUP_ASUS_HEADSET_MIC),
1024610255
SND_PCI_QUIRK(0x1d72, 0x1947, "RedmiBook Air", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
10256+
SND_PCI_QUIRK(0x2782, 0x0232, "CHUWI CoreBook XPro", ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO),
1024710257
SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC),
1024810258
SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED),
1024910259
SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", ALC256_FIXUP_INTEL_NUC10),

0 commit comments

Comments
 (0)