aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-08-03 02:37:17 -0400
committerTakashi Iwai <tiwai@suse.de>2009-08-03 02:37:17 -0400
commite44d4e4cee1ece7b6e6bf4db899b1a7766015306 (patch)
tree791adda61e8affa6f2cc39485cbc6b5e8d4d41ed /sound/pci/hda/patch_sigmatel.c
parent559059b27f1768e89adc204f3ba2cb82882c15ca (diff)
parent4b35d2ca2307d40ccb6b3b6f9cc25ac9178b2a6c (diff)
Merge branch 'fix/hda' into topic/hda
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r--sound/pci/hda/patch_sigmatel.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index e5fbec37ffdd..b3c53f7a668b 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -2251,7 +2251,7 @@ static struct snd_pci_quirk stac927x_cfg_tbl[] = {
2251 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x01f3, "Dell Inspiron 1420", STAC_DELL_BIOS), 2251 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x01f3, "Dell Inspiron 1420", STAC_DELL_BIOS),
2252 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0227, "Dell Vostro 1400 ", STAC_DELL_BIOS), 2252 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0227, "Dell Vostro 1400 ", STAC_DELL_BIOS),
2253 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x022e, "Dell ", STAC_DELL_BIOS), 2253 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x022e, "Dell ", STAC_DELL_BIOS),
2254 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x022f, "Dell Inspiron 1525", STAC_DELL_3ST), 2254 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x022f, "Dell Inspiron 1525", STAC_DELL_BIOS),
2255 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0242, "Dell ", STAC_DELL_BIOS), 2255 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0242, "Dell ", STAC_DELL_BIOS),
2256 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0243, "Dell ", STAC_DELL_BIOS), 2256 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0243, "Dell ", STAC_DELL_BIOS),
2257 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x02ff, "Dell ", STAC_DELL_BIOS), 2257 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x02ff, "Dell ", STAC_DELL_BIOS),
@@ -5870,6 +5870,13 @@ static int patch_stac927x(struct hda_codec *codec)
5870 /* GPIO2 High = Enable EAPD */ 5870 /* GPIO2 High = Enable EAPD */
5871 spec->eapd_mask = spec->gpio_mask = spec->gpio_dir = 0x04; 5871 spec->eapd_mask = spec->gpio_mask = spec->gpio_dir = 0x04;
5872 spec->gpio_data = 0x04; 5872 spec->gpio_data = 0x04;
5873 switch (codec->subsystem_id) {
5874 case 0x1028022f:
5875 /* correct EAPD to be GPIO0 */
5876 spec->eapd_mask = spec->gpio_mask = 0x01;
5877 spec->gpio_dir = spec->gpio_data = 0x01;
5878 break;
5879 };
5873 spec->dmic_nids = stac927x_dmic_nids; 5880 spec->dmic_nids = stac927x_dmic_nids;
5874 spec->num_dmics = STAC927X_NUM_DMICS; 5881 spec->num_dmics = STAC927X_NUM_DMICS;
5875 5882