]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.drivers/alsa-hda-hp-dv5-mic-fix
Reenabled linux-xen, added patches for Xen Kernel Version 2.6.27.31,
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.drivers / alsa-hda-hp-dv5-mic-fix
diff --git a/src/patches/suse-2.6.27.31/patches.drivers/alsa-hda-hp-dv5-mic-fix b/src/patches/suse-2.6.27.31/patches.drivers/alsa-hda-hp-dv5-mic-fix
new file mode 100644 (file)
index 0000000..4ae5f22
--- /dev/null
@@ -0,0 +1,54 @@
+From 1b0652eb588e57c3ab230e0291e7da99c7e665e0 Mon Sep 17 00:00:00 2001
+From: Takashi Iwai <tiwai@suse.de>
+Date: Wed, 14 Jan 2009 08:27:35 +0100
+Subject: ALSA: hda - Fix HP dv5 mic input
+Patch-mainline: 2.6.29-rc1
+References: bnc#462913
+
+Fix HP dv5 (103c:3603) built-in mic input.
+
+Reference: kernel bug 12440
+       http://bugzilla.kernel.org/show_bug.cgi?id=12440
+
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Cc: stable@kernel.org
+
+---
+ sound/pci/hda/patch_sigmatel.c |    5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+--- a/sound/pci/hda/patch_sigmatel.c
++++ b/sound/pci/hda/patch_sigmatel.c
+@@ -90,6 +90,7 @@ enum {
+       STAC_DELL_M4_2,
+       STAC_DELL_M4_3,
+       STAC_HP_M4,
++      STAC_HP_DV5,
+       STAC_92HD71BXX_MODELS
+ };
+@@ -1762,6 +1763,7 @@ static unsigned int *stac92hd71bxx_brd_t
+       [STAC_DELL_M4_2]        = dell_m4_2_pin_configs,
+       [STAC_DELL_M4_3]        = dell_m4_3_pin_configs,
+       [STAC_HP_M4]            = NULL,
++      [STAC_HP_DV5]           = NULL,
+ };
+ static const char *stac92hd71bxx_models[STAC_92HD71BXX_MODELS] = {
+@@ -1770,6 +1772,7 @@ static const char *stac92hd71bxx_models[
+       [STAC_DELL_M4_2] = "dell-m4-2",
+       [STAC_DELL_M4_3] = "dell-m4-3",
+       [STAC_HP_M4] = "hp-m4",
++      [STAC_HP_DV5] = "hp-dv5",
+ };
+ static struct snd_pci_quirk stac92hd71bxx_cfg_tbl[] = {
+@@ -1783,7 +1786,7 @@ static struct snd_pci_quirk stac92hd71bx
+       SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x30fc,
+                     "HP dv7", STAC_HP_M4),
+       SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x3603,
+-                    "HP dv5", STAC_HP_M4),
++                    "HP dv5", STAC_HP_DV5),
+       SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x361a,
+                               "unknown HP", STAC_HP_M4),
+       SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0233,