Skip to content

Commit fcfc9f7

Browse files
KailangYangtiwai
authored andcommitted
ALSA: hda/realtek - Add speaker pin verbtable for Dell dual speaker platform
SSID 0x0c0d platform. It can't mute speaker when HP plugged. This patch add quirk to fill speaker pin verbtable. And disable speaker passthrough. Signed-off-by: Kailang Yang <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 67794f8 commit fcfc9f7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,10 @@ static void alc_fill_eapd_coef(struct hda_codec *codec)
439439
alc_update_coef_idx(codec, 0x67, 0xf000, 0x3000);
440440
fallthrough;
441441
case 0x10ec0215:
442+
case 0x10ec0285:
443+
case 0x10ec0289:
444+
alc_update_coef_idx(codec, 0x36, 1<<13, 0);
445+
fallthrough;
442446
case 0x10ec0230:
443447
case 0x10ec0233:
444448
case 0x10ec0235:
@@ -452,9 +456,7 @@ static void alc_fill_eapd_coef(struct hda_codec *codec)
452456
case 0x10ec0283:
453457
case 0x10ec0286:
454458
case 0x10ec0288:
455-
case 0x10ec0285:
456459
case 0x10ec0298:
457-
case 0x10ec0289:
458460
case 0x10ec0300:
459461
alc_update_coef_idx(codec, 0x10, 1<<9, 0);
460462
break;
@@ -9732,6 +9734,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
97329734
SND_PCI_QUIRK(0x1028, 0x0b71, "Dell Inspiron 16 Plus 7620", ALC295_FIXUP_DELL_INSPIRON_TOP_SPEAKERS),
97339735
SND_PCI_QUIRK(0x1028, 0x0beb, "Dell XPS 15 9530 (2023)", ALC289_FIXUP_DELL_CS35L41_SPI_2),
97349736
SND_PCI_QUIRK(0x1028, 0x0c03, "Dell Precision 5340", ALC269_FIXUP_DELL4_MIC_NO_PRESENCE),
9737+
SND_PCI_QUIRK(0x1028, 0x0c0d, "Dell Oasis", ALC289_FIXUP_RTK_AMP_DUAL_SPK),
97359738
SND_PCI_QUIRK(0x1028, 0x0c19, "Dell Precision 3340", ALC236_FIXUP_DELL_DUAL_CODECS),
97369739
SND_PCI_QUIRK(0x1028, 0x0c1a, "Dell Precision 3340", ALC236_FIXUP_DELL_DUAL_CODECS),
97379740
SND_PCI_QUIRK(0x1028, 0x0c1b, "Dell Precision 3440", ALC236_FIXUP_DELL_DUAL_CODECS),

0 commit comments

Comments
 (0)