Skip to content

Commit f83bb25

Browse files
imtangmengtiwai
authored andcommitted
ALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model
There is another LENOVO 20149 (Type1Sku0) Notebook model with CX20590, the device PCI SSID is 17aa:3977, which headphones are not responding, that requires the quirk CXT_PINCFG_LENOVO_NOTEBOOK. Add the corresponding entry to the quirk table. Signed-off-by: Meng Tang <tangmeng@uniontech.com> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20220808073406.19460-1-tangmeng@uniontech.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 666d3b6 commit f83bb25

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

sound/pci/hda/patch_conexant.c

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ enum {
222222
CXT_PINCFG_LEMOTE_A1205,
223223
CXT_PINCFG_COMPAQ_CQ60,
224224
CXT_FIXUP_STEREO_DMIC,
225+
CXT_PINCFG_LENOVO_NOTEBOOK,
225226
CXT_FIXUP_INC_MIC_BOOST,
226227
CXT_FIXUP_HEADPHONE_MIC_PIN,
227228
CXT_FIXUP_HEADPHONE_MIC,
@@ -772,6 +773,14 @@ static const struct hda_fixup cxt_fixups[] = {
772773
.type = HDA_FIXUP_FUNC,
773774
.v.func = cxt_fixup_stereo_dmic,
774775
},
776+
[CXT_PINCFG_LENOVO_NOTEBOOK] = {
777+
.type = HDA_FIXUP_PINS,
778+
.v.pins = (const struct hda_pintbl[]) {
779+
{ 0x1a, 0x05d71030 },
780+
{ }
781+
},
782+
.chain_id = CXT_FIXUP_STEREO_DMIC,
783+
},
775784
[CXT_FIXUP_INC_MIC_BOOST] = {
776785
.type = HDA_FIXUP_FUNC,
777786
.v.func = cxt5066_increase_mic_boost,
@@ -971,7 +980,7 @@ static const struct snd_pci_quirk cxt5066_fixups[] = {
971980
SND_PCI_QUIRK(0x17aa, 0x3905, "Lenovo G50-30", CXT_FIXUP_STEREO_DMIC),
972981
SND_PCI_QUIRK(0x17aa, 0x390b, "Lenovo G50-80", CXT_FIXUP_STEREO_DMIC),
973982
SND_PCI_QUIRK(0x17aa, 0x3975, "Lenovo U300s", CXT_FIXUP_STEREO_DMIC),
974-
SND_PCI_QUIRK(0x17aa, 0x3977, "Lenovo IdeaPad U310", CXT_FIXUP_STEREO_DMIC),
983+
SND_PCI_QUIRK(0x17aa, 0x3977, "Lenovo IdeaPad U310", CXT_PINCFG_LENOVO_NOTEBOOK),
975984
SND_PCI_QUIRK(0x17aa, 0x3978, "Lenovo G50-70", CXT_FIXUP_STEREO_DMIC),
976985
SND_PCI_QUIRK(0x17aa, 0x397b, "Lenovo S205", CXT_FIXUP_STEREO_DMIC),
977986
SND_PCI_QUIRK_VENDOR(0x17aa, "Thinkpad", CXT_FIXUP_THINKPAD_ACPI),

0 commit comments

Comments
 (0)