ALSA: hda - Added HP HDX16/HDX18 notebook support for HDA codecs (82HD71)

Previous thread: ALSA: hda - Assign HP and speaker DACs before mic/line-in by Linux Kernel Mailing List on Thursday, March 26, 2009 - 12:15 pm. (1 message)

Next thread: ALSA: hda - Rework on patch_sigmatel.c for HP HDX16/HDX18 by Linux Kernel Mailing List on Thursday, March 26, 2009 - 12:16 pm. (1 message)
From: Linux Kernel Mailing List
Date: Thursday, March 26, 2009 - 12:16 pm

Gitweb:     http://git.kernel.org/linus/ae6241fbf5c8863631532e8069037bae460607be
Commit:     ae6241fbf5c8863631532e8069037bae460607be
Parent:     139e071b0ff37800ed0a68b10c4bb325f51786eb
Author:     Christoph Plattner <christoph.plattner@gmx.at>
AuthorDate: Sun Mar 8 23:19:05 2009 +0100
Committer:  Takashi Iwai <tiwai@suse.de>
CommitDate: Tue Mar 10 07:35:20 2009 +0100

    ALSA: hda - Added HP HDX16/HDX18 notebook support for HDA codecs (82HD71)
    
    Added codec recognition of HP HDX platforms and added support of the
    MUTE LED (orange/white). For this feature the CONFIG_SND_HDA_POWER_SAVE
    is needed to use event handling for mute control.
    
    Signed-off-by: Christoph Plattner <christoph.plattner@gmx.at>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/pci/hda/patch_sigmatel.c |   57 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 57 insertions(+), 0 deletions(-)

diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 123bcf7..fb9f4cc 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -99,6 +99,7 @@ enum {
 	STAC_DELL_M4_3,
 	STAC_HP_M4,
 	STAC_HP_DV5,
+	STAC_HP_HDX,
 	STAC_92HD71BXX_MODELS
 };
 
@@ -1828,6 +1829,7 @@ static unsigned int *stac92hd71bxx_brd_tbl[STAC_92HD71BXX_MODELS] = {
 	[STAC_DELL_M4_3]	= dell_m4_3_pin_configs,
 	[STAC_HP_M4]		= NULL,
 	[STAC_HP_DV5]		= NULL,
+	[STAC_HP_HDX]           = NULL,
 };
 
 static const char *stac92hd71bxx_models[STAC_92HD71BXX_MODELS] = {
@@ -1838,6 +1840,7 @@ static const char *stac92hd71bxx_models[STAC_92HD71BXX_MODELS] = {
 	[STAC_DELL_M4_3] = "dell-m4-3",
 	[STAC_HP_M4] = "hp-m4",
 	[STAC_HP_DV5] = "hp-dv5",
+	[STAC_HP_HDX] = "hp-hdx",
 };
 
 static struct snd_pci_quirk stac92hd71bxx_cfg_tbl[] = {
@@ -1852,6 +1855,10 @@ static struct snd_pci_quirk stac92hd71bxx_cfg_tbl[] = {
 		      "HP dv4-7", STAC_HP_DV5),
 	SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x361a,
 		      "HP mini 1000", ...
Previous thread: ALSA: hda - Assign HP and speaker DACs before mic/line-in by Linux Kernel Mailing List on Thursday, March 26, 2009 - 12:15 pm. (1 message)

Next thread: ALSA: hda - Rework on patch_sigmatel.c for HP HDX16/HDX18 by Linux Kernel Mailing List on Thursday, March 26, 2009 - 12:16 pm. (1 message)