]> www.infradead.org Git - users/hch/dma-mapping.git/commit
ALSA: hda/realtek: Fix conflicting quirk for PCI SSID 17aa:3820
authorTakashi Iwai <tiwai@suse.de>
Tue, 25 Jun 2024 15:52:12 +0000 (17:52 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 26 Jun 2024 05:49:19 +0000 (07:49 +0200)
commitd3710853fd4a7020904a16686986cf5541ad1c38
treee51e2862e9984db598970def31676488e7ff181c
parent6a7db25aad8ce6512b366d2ce1d0e60bac00a09d
ALSA: hda/realtek: Fix conflicting quirk for PCI SSID 17aa:3820

The recent fix for Lenovo IdeaPad 330-17IKB replaced the quirk entry,
and this eventually breaks the existing quirk for Lenovo Yoga Duet 7
13ITL6 equipped with the same PCI SSID 17aa:3820.

For applying a proper quirk for each model, check the codec SSID
additionally.  Fortunately Yoga Duet has a different codec SSID,
0x17aa3802.

(Interestingly, 17aa:3802 has another conflict of SSID between another
Yoga model vs 14IRP8 which we had to work around similarly.)

Fixes: b1fd0d1285b1 ("ALSA: hda/realtek: Enable headset mic on IdeaPad 330-17IKB 81DM")
Link: https://patch.msgid.link/20240625155217.18767-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c