Skip to content

Commit 7204607

Browse files
Zhang Hengtiwai
authored andcommitted
ALSA: hda/realtek: add quirk for HP Laptop 15-fc0xxx
For the HP Laptop 15-fc0xxx with ALC236, the built-in mic 0x12 was not set up, making it unusable; after adding it, it now works properly. Link: https://bugzilla.kernel.org/show_bug.cgi?id=221233 Signed-off-by: Zhang Heng <zhangheng@kylinos.cn> Link: https://patch.msgid.link/20260331013536.13778-1-zhangheng@kylinos.cn Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent ea31be8 commit 7204607

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

sound/hda/codecs/realtek/alc269.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4123,6 +4123,7 @@ enum {
41234123
ALC245_FIXUP_BASS_HP_DAC,
41244124
ALC245_FIXUP_ACER_MICMUTE_LED,
41254125
ALC245_FIXUP_CS35L41_I2C_2_MUTE_LED,
4126+
ALC236_FIXUP_HP_DMIC,
41264127
};
41274128

41284129
/* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -6658,6 +6659,13 @@ static const struct hda_fixup alc269_fixups[] = {
66586659
.v.func = alc245_fixup_hp_mute_led_coefbit,
66596660
.chained = true,
66606661
.chain_id = ALC287_FIXUP_CS35L41_I2C_2,
6662+
},
6663+
[ALC236_FIXUP_HP_DMIC] = {
6664+
.type = HDA_FIXUP_PINS,
6665+
.v.pins = (const struct hda_pintbl[]) {
6666+
{ 0x12, 0x90a60160 }, /* use as internal mic */
6667+
{ }
6668+
},
66616669
}
66626670
};
66636671

@@ -7153,6 +7161,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
71537161
SND_PCI_QUIRK(0x103c, 0x8da1, "HP 16 Clipper OmniBook X", ALC287_FIXUP_CS35L41_I2C_2),
71547162
SND_PCI_QUIRK(0x103c, 0x8da7, "HP 14 Enstrom OmniBook X", ALC287_FIXUP_CS35L41_I2C_2),
71557163
SND_PCI_QUIRK(0x103c, 0x8da8, "HP 16 Piston OmniBook X", ALC287_FIXUP_CS35L41_I2C_2),
7164+
SND_PCI_QUIRK(0x103c, 0x8dc9, "HP Laptop 15-fc0xxx", ALC236_FIXUP_HP_DMIC),
71567165
SND_PCI_QUIRK(0x103c, 0x8dd4, "HP EliteStudio 8 AIO", ALC274_FIXUP_HP_AIO_BIND_DACS),
71577166
SND_PCI_QUIRK(0x103c, 0x8dd7, "HP Laptop 15-fd0xxx", ALC236_FIXUP_HP_MUTE_LED_COEFBIT2),
71587167
SND_PCI_QUIRK(0x103c, 0x8de8, "HP Gemtree", ALC245_FIXUP_TAS2781_SPI_2),

0 commit comments

Comments
 (0)