Skip to content

Commit 59ec4b5

Browse files
jason77-wangtiwai
authored andcommitted
ALSA: hda - Fix headset mic detection problem for two dell machines
One of the machines has ALC255 on it, another one has ALC298 on it. On the machine with the codec ALC298, it also has the speaker volume problem, so we add the fixup chained to ALC298_FIXUP_SPK_VOLUME rather than adding a group of pin definition in the pin quirk table, since the speak volume problem does not happen on other machines yet. Cc: <[email protected]> Signed-off-by: Hui Wang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 33baefe commit 59ec4b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5513,6 +5513,8 @@ static const struct hda_fixup alc269_fixups[] = {
55135513
[ALC298_FIXUP_SPK_VOLUME] = {
55145514
.type = HDA_FIXUP_FUNC,
55155515
.v.func = alc298_fixup_speaker_volume,
5516+
.chained = true,
5517+
.chain_id = ALC298_FIXUP_DELL1_MIC_NO_PRESENCE,
55165518
},
55175519
};
55185520

@@ -5835,6 +5837,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
58355837
{0x14, 0x90170130},
58365838
{0x1b, 0x01014020},
58375839
{0x21, 0x0221103f}),
5840+
SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
5841+
{0x14, 0x90170130},
5842+
{0x1b, 0x02011020},
5843+
{0x21, 0x0221103f}),
58385844
SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
58395845
{0x14, 0x90170150},
58405846
{0x1b, 0x02011020},

0 commit comments

Comments
 (0)