Skip to contentSkip to conversation

ALSA: HDA: Fix auto-mute on Lenovo Edge 14

PATCH In review David Henningsson 2 participants 2 messages Dec 15, 2010 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: HDA: Fix auto-mute on Lenovo Edge 14

The SKU value of this machine dictates that auto-mute should be disabled. Since the SKU value is similar to the PCI SSID, the most likely conclusion is that the SKU value should be ignored.

Signature · 2 lines
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
Quoted 1 line

From 84d84db7dbcbf0ceaad3ed016bde6446629566b7 Mon Sep 17 00:00:00 2001

From: David Henningsson <[email protected]>
Date: Wed, 15 Dec 2010 08:01:46 +0100
Subject: [PATCH] ALSA: HDA: Fix auto-mute on Lenovo Edge 14

The SKU value of this machine dictates that auto-mute should be disabled. Since the SKU value is similar to the PCI SSID, the most likely conclusion is that the SKU value should be ignored.

---
 sound/pci/hda/patch_realtek.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
sound/pci/hda/patch_realtek.c +5 -0
index cd2d3a5..3aeda3a 100644
@@ -14808,6 +14808,7 @@ static int alc269_resume(struct hda_codec *codec)
 enum {
 	ALC269_FIXUP_SONY_VAIO,
 	ALC269_FIXUP_DELL_M101Z,
+	ALC269_FIXUP_LENOVO_EDGE14,
 };
 
 static const struct alc_fixup alc269_fixups[] = {
@@ -14825,11 +14826,15 @@ static const struct alc_fixup alc269_fixups[] = {
 			{}
 		}
 	},
+	[ALC269_FIXUP_LENOVO_EDGE14] = {
+		.sku = ALC_FIXUP_SKU_IGNORE,
+	},
 };
 
 static struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK_VENDOR(0x104d, "Sony VAIO", ALC269_FIXUP_SONY_VAIO),
 	SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z),
+	SND_PCI_QUIRK(0x17aa, 0x21b8, "Thinkpad Edge 14", ALC269_FIXUP_LENOVO_EDGE14),
 	{}
 };
 
Signature · 1 line
1.7.1

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#1 lore raw

At Wed, 15 Dec 2010 08:14:55 +0100,

Quoted 4 lines · David Henningsson

The SKU value of this machine dictates that auto-mute should be disabled. Since the SKU value is similar to the PCI SSID, the most likely conclusion is that the SKU value should be ignored.

Applied now. Thanks.

Takashi

Quoted 52 lines
Signature · 4 lines
-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
[2 0001-ALSA-HDA-Fix-auto-mute-on-Lenovo-Edge-14.patch <text/x-patch (7bit)>]
Quoted 1 line

From 84d84db7dbcbf0ceaad3ed016bde6446629566b7 Mon Sep 17 00:00:00 2001

From: David Henningsson <[email protected]>
Date: Wed, 15 Dec 2010 08:01:46 +0100
Subject: [PATCH] ALSA: HDA: Fix auto-mute on Lenovo Edge 14

The SKU value of this machine dictates that auto-mute should be disabled. Since the SKU value is similar to the PCI SSID, the most likely conclusion is that the SKU value should be ignored.

---
 sound/pci/hda/patch_realtek.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
sound/pci/hda/patch_realtek.c +5 -0
index cd2d3a5..3aeda3a 100644
@@ -14808,6 +14808,7 @@ static int alc269_resume(struct hda_codec *codec)
 enum {
 	ALC269_FIXUP_SONY_VAIO,
 	ALC269_FIXUP_DELL_M101Z,
+	ALC269_FIXUP_LENOVO_EDGE14,
 };
 
 static const struct alc_fixup alc269_fixups[] = {
@@ -14825,11 +14826,15 @@ static const struct alc_fixup alc269_fixups[] = {
 			{}
 		}
 	},
+	[ALC269_FIXUP_LENOVO_EDGE14] = {
+		.sku = ALC_FIXUP_SKU_IGNORE,
+	},
 };
 
 static struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK_VENDOR(0x104d, "Sony VAIO", ALC269_FIXUP_SONY_VAIO),
 	SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z),
+	SND_PCI_QUIRK(0x17aa, 0x21b8, "Thinkpad Edge 14", ALC269_FIXUP_LENOVO_EDGE14),
 	{}
 };
 
Signature · 1 line
1.7.1