ALSA: hda - Add docking station support for Lenovo Thinkpad T420s

Message ID 20200122180106.9351-1-pegro@friiks.de
State Accepted
Commit ef7d84caa5928b40b1c93a26dbe5a3f12737c6ab
Headers show
Series
  • ALSA: hda - Add docking station support for Lenovo Thinkpad T420s
Related show

Commit Message

Peter Große Jan. 22, 2020, 6:01 p.m.
Lenovo Thinkpad T420s uses the same codec as T420, so apply the
same quirk to enable audio output on a docking station.

Signed-off-by: Peter Große <pegro@friiks.de>
---
 sound/pci/hda/patch_conexant.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Takashi Iwai Jan. 22, 2020, 5:01 p.m. | #1
On Wed, 22 Jan 2020 19:01:06 +0100,
Peter Große wrote:
> 
> Lenovo Thinkpad T420s uses the same codec as T420, so apply the
> same quirk to enable audio output on a docking station.
> 
> Signed-off-by: Peter Große <pegro@friiks.de>

Applied now, thanks.


Takashi

Patch

diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index 90aa0f400a57..1e20e85e9b46 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -922,6 +922,7 @@  static const struct snd_pci_quirk cxt5066_fixups[] = {
 	SND_PCI_QUIRK(0x17aa, 0x215f, "Lenovo T510", CXT_PINCFG_LENOVO_TP410),
 	SND_PCI_QUIRK(0x17aa, 0x21ce, "Lenovo T420", CXT_PINCFG_LENOVO_TP410),
 	SND_PCI_QUIRK(0x17aa, 0x21cf, "Lenovo T520", CXT_PINCFG_LENOVO_TP410),
+	SND_PCI_QUIRK(0x17aa, 0x21d2, "Lenovo T420s", CXT_PINCFG_LENOVO_TP410),
 	SND_PCI_QUIRK(0x17aa, 0x21da, "Lenovo X220", CXT_PINCFG_LENOVO_TP410),
 	SND_PCI_QUIRK(0x17aa, 0x21db, "Lenovo X220-tablet", CXT_PINCFG_LENOVO_TP410),
 	SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo IdeaPad Z560", CXT_FIXUP_MUTE_LED_EAPD),