All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: HDA: Add auto-mute for Thinkpad SL410/SL510
@ 2010-12-20  7:19 David Henningsson
  2010-12-20 11:28 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: David Henningsson @ 2010-12-20  7:19 UTC (permalink / raw)
  To: ALSA Development Mailing List, Takashi Iwai

[-- Attachment #1: Type: text/plain, Size: 130 bytes --]

SKU turns off auto-mute for these machines, so ignore the SKU.

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic

[-- Attachment #2: 0001-ALSA-HDA-Add-auto-mute-for-Thinkpad-SL410-SL510.patch --]
[-- Type: text/x-patch, Size: 1654 bytes --]

>From 330d6ca1731d02ded9697f9649c66bdb1be4e1fd Mon Sep 17 00:00:00 2001
From: David Henningsson <david.henningsson@canonical.com>
Date: Fri, 17 Dec 2010 20:43:04 +0100
Subject: [PATCH] ALSA: HDA: Add auto-mute for Thinkpad SL410/SL510

BugLink: http://launchpad.net/bugs/580006

SKU turns off auto-mute for these machines, so ignore the SKU.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
---
 hda/patch_realtek.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 3aeda3a..cc2b8d7 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -14808,7 +14808,7 @@ static int alc269_resume(struct hda_codec *codec)
 enum {
 	ALC269_FIXUP_SONY_VAIO,
 	ALC269_FIXUP_DELL_M101Z,
-	ALC269_FIXUP_LENOVO_EDGE14,
+	ALC269_FIXUP_SKU_IGNORE,
 };
 
 static const struct alc_fixup alc269_fixups[] = {
@@ -14826,7 +14826,7 @@ static const struct alc_fixup alc269_fixups[] = {
 			{}
 		}
 	},
-	[ALC269_FIXUP_LENOVO_EDGE14] = {
+	[ALC269_FIXUP_SKU_IGNORE] = {
 		.sku = ALC_FIXUP_SKU_IGNORE,
 	},
 };
@@ -14834,7 +14834,8 @@ static const struct alc_fixup alc269_fixups[] = {
 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),
+	SND_PCI_QUIRK(0x17aa, 0x21b8, "Thinkpad Edge 14", ALC269_FIXUP_SKU_IGNORE),
+	SND_PCI_QUIRK(0x17aa, 0x20f2, "Thinkpad SL410/510", ALC269_FIXUP_SKU_IGNORE),
 	{}
 };
 
-- 
1.7.1


[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ALSA: HDA: Add auto-mute for Thinkpad SL410/SL510
  2010-12-20  7:19 [PATCH] ALSA: HDA: Add auto-mute for Thinkpad SL410/SL510 David Henningsson
@ 2010-12-20 11:28 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2010-12-20 11:28 UTC (permalink / raw)
  To: David Henningsson; +Cc: ALSA Development Mailing List

At Mon, 20 Dec 2010 08:19:25 +0100,
David Henningsson wrote:
> 
> SKU turns off auto-mute for these machines, so ignore the SKU.

Applied now.  Thanks.


Takashi

> -- 
> David Henningsson, Canonical Ltd.
> http://launchpad.net/~diwic
> [2 0001-ALSA-HDA-Add-auto-mute-for-Thinkpad-SL410-SL510.patch <text/x-patch (7bit)>]
> >From 330d6ca1731d02ded9697f9649c66bdb1be4e1fd Mon Sep 17 00:00:00 2001
> From: David Henningsson <david.henningsson@canonical.com>
> Date: Fri, 17 Dec 2010 20:43:04 +0100
> Subject: [PATCH] ALSA: HDA: Add auto-mute for Thinkpad SL410/SL510
> 
> BugLink: http://launchpad.net/bugs/580006
> 
> SKU turns off auto-mute for these machines, so ignore the SKU.
> 
> Signed-off-by: David Henningsson <david.henningsson@canonical.com>
> ---
>  hda/patch_realtek.c |    7 ++++---
>  1 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index 3aeda3a..cc2b8d7 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -14808,7 +14808,7 @@ static int alc269_resume(struct hda_codec *codec)
>  enum {
>  	ALC269_FIXUP_SONY_VAIO,
>  	ALC269_FIXUP_DELL_M101Z,
> -	ALC269_FIXUP_LENOVO_EDGE14,
> +	ALC269_FIXUP_SKU_IGNORE,
>  };
>  
>  static const struct alc_fixup alc269_fixups[] = {
> @@ -14826,7 +14826,7 @@ static const struct alc_fixup alc269_fixups[] = {
>  			{}
>  		}
>  	},
> -	[ALC269_FIXUP_LENOVO_EDGE14] = {
> +	[ALC269_FIXUP_SKU_IGNORE] = {
>  		.sku = ALC_FIXUP_SKU_IGNORE,
>  	},
>  };
> @@ -14834,7 +14834,8 @@ static const struct alc_fixup alc269_fixups[] = {
>  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),
> +	SND_PCI_QUIRK(0x17aa, 0x21b8, "Thinkpad Edge 14", ALC269_FIXUP_SKU_IGNORE),
> +	SND_PCI_QUIRK(0x17aa, 0x20f2, "Thinkpad SL410/510", ALC269_FIXUP_SKU_IGNORE),
>  	{}
>  };
>  
> -- 
> 1.7.1
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-20 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-20  7:19 [PATCH] ALSA: HDA: Add auto-mute for Thinkpad SL410/SL510 David Henningsson
2010-12-20 11:28 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.