]>
Commit | Line | Data |
---|---|---|
00e5a55c BS |
1 | From 1b0652eb588e57c3ab230e0291e7da99c7e665e0 Mon Sep 17 00:00:00 2001 |
2 | From: Takashi Iwai <tiwai@suse.de> | |
3 | Date: Wed, 14 Jan 2009 08:27:35 +0100 | |
4 | Subject: ALSA: hda - Fix HP dv5 mic input | |
5 | Patch-mainline: 2.6.29-rc1 | |
6 | References: bnc#462913 | |
7 | ||
8 | Fix HP dv5 (103c:3603) built-in mic input. | |
9 | ||
10 | Reference: kernel bug 12440 | |
11 | http://bugzilla.kernel.org/show_bug.cgi?id=12440 | |
12 | ||
13 | Signed-off-by: Takashi Iwai <tiwai@suse.de> | |
14 | Cc: stable@kernel.org | |
15 | ||
16 | --- | |
17 | sound/pci/hda/patch_sigmatel.c | 5 ++++- | |
18 | 1 file changed, 4 insertions(+), 1 deletion(-) | |
19 | ||
20 | --- a/sound/pci/hda/patch_sigmatel.c | |
21 | +++ b/sound/pci/hda/patch_sigmatel.c | |
22 | @@ -90,6 +90,7 @@ enum { | |
23 | STAC_DELL_M4_2, | |
24 | STAC_DELL_M4_3, | |
25 | STAC_HP_M4, | |
26 | + STAC_HP_DV5, | |
27 | STAC_92HD71BXX_MODELS | |
28 | }; | |
29 | ||
30 | @@ -1762,6 +1763,7 @@ static unsigned int *stac92hd71bxx_brd_t | |
31 | [STAC_DELL_M4_2] = dell_m4_2_pin_configs, | |
32 | [STAC_DELL_M4_3] = dell_m4_3_pin_configs, | |
33 | [STAC_HP_M4] = NULL, | |
34 | + [STAC_HP_DV5] = NULL, | |
35 | }; | |
36 | ||
37 | static const char *stac92hd71bxx_models[STAC_92HD71BXX_MODELS] = { | |
38 | @@ -1770,6 +1772,7 @@ static const char *stac92hd71bxx_models[ | |
39 | [STAC_DELL_M4_2] = "dell-m4-2", | |
40 | [STAC_DELL_M4_3] = "dell-m4-3", | |
41 | [STAC_HP_M4] = "hp-m4", | |
42 | + [STAC_HP_DV5] = "hp-dv5", | |
43 | }; | |
44 | ||
45 | static struct snd_pci_quirk stac92hd71bxx_cfg_tbl[] = { | |
46 | @@ -1783,7 +1786,7 @@ static struct snd_pci_quirk stac92hd71bx | |
47 | SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x30fc, | |
48 | "HP dv7", STAC_HP_M4), | |
49 | SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x3603, | |
50 | - "HP dv5", STAC_HP_M4), | |
51 | + "HP dv5", STAC_HP_DV5), | |
52 | SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x361a, | |
53 | "unknown HP", STAC_HP_M4), | |
54 | SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0233, |