diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-04-18 05:39:10 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-04-18 05:39:10 -0400 |
commit | b2b4b9a7c09ad66e095b13c97946a96f2dc8284e (patch) | |
tree | fb856b5998df266bd83e6e64b8884287e812845a /sound/pci | |
parent | 875999c5539999f61a45620aae0c3e5fb1d2b035 (diff) | |
parent | 4741c336d27dec3ea68a35659abb8dc82b142388 (diff) |
Merge branch 'upstream'
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/ac97/ac97_codec.c | 1 | ||||
-rw-r--r-- | sound/pci/au88x0/au88x0.h | 13 | ||||
-rw-r--r-- | sound/pci/au88x0/au88x0_core.c | 2 | ||||
-rw-r--r-- | sound/pci/au88x0/au88x0_eq.c | 2 | ||||
-rw-r--r-- | sound/pci/au88x0/au88x0_pcm.c | 2 | ||||
-rw-r--r-- | sound/pci/emu10k1/emu10k1_main.c | 5 | ||||
-rw-r--r-- | sound/pci/hda/patch_analog.c | 6 | ||||
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 3 | ||||
-rw-r--r-- | sound/pci/via82xx.c | 1 |
9 files changed, 24 insertions, 11 deletions
diff --git a/sound/pci/ac97/ac97_codec.c b/sound/pci/ac97/ac97_codec.c index 278319bbdea1..d05200741ac3 100644 --- a/sound/pci/ac97/ac97_codec.c +++ b/sound/pci/ac97/ac97_codec.c | |||
@@ -160,6 +160,7 @@ static const struct ac97_codec_id snd_ac97_codec_ids[] = { | |||
160 | { 0x54584e20, 0xffffffff, "TLC320AD9xC", NULL, NULL }, | 160 | { 0x54584e20, 0xffffffff, "TLC320AD9xC", NULL, NULL }, |
161 | { 0x56494161, 0xffffffff, "VIA1612A", NULL, NULL }, // modified ICE1232 with S/PDIF | 161 | { 0x56494161, 0xffffffff, "VIA1612A", NULL, NULL }, // modified ICE1232 with S/PDIF |
162 | { 0x56494170, 0xffffffff, "VIA1617A", patch_vt1617a, NULL }, // modified VT1616 with S/PDIF | 162 | { 0x56494170, 0xffffffff, "VIA1617A", patch_vt1617a, NULL }, // modified VT1616 with S/PDIF |
163 | { 0x56494182, 0xffffffff, "VIA1618", NULL, NULL }, | ||
163 | { 0x57454301, 0xffffffff, "W83971D", NULL, NULL }, | 164 | { 0x57454301, 0xffffffff, "W83971D", NULL, NULL }, |
164 | { 0x574d4c00, 0xffffffff, "WM9701A", NULL, NULL }, | 165 | { 0x574d4c00, 0xffffffff, "WM9701A", NULL, NULL }, |
165 | { 0x574d4C03, 0xffffffff, "WM9703,WM9707,WM9708,WM9717", patch_wolfson03, NULL}, | 166 | { 0x574d4C03, 0xffffffff, "WM9703,WM9707,WM9708,WM9717", patch_wolfson03, NULL}, |
diff --git a/sound/pci/au88x0/au88x0.h b/sound/pci/au88x0/au88x0.h index d65ccb1866a0..f078b716d2b0 100644 --- a/sound/pci/au88x0/au88x0.h +++ b/sound/pci/au88x0/au88x0.h | |||
@@ -19,7 +19,6 @@ | |||
19 | 19 | ||
20 | #ifdef __KERNEL__ | 20 | #ifdef __KERNEL__ |
21 | #include <sound/driver.h> | 21 | #include <sound/driver.h> |
22 | #include <linux/init.h> | ||
23 | #include <linux/pci.h> | 22 | #include <linux/pci.h> |
24 | #include <asm/io.h> | 23 | #include <asm/io.h> |
25 | #include <sound/core.h> | 24 | #include <sound/core.h> |
@@ -277,14 +276,14 @@ static void vortex_Vort3D_InitializeSource(a3dsrc_t * a, int en); | |||
277 | #endif | 276 | #endif |
278 | 277 | ||
279 | /* Driver stuff. */ | 278 | /* Driver stuff. */ |
280 | static int __devinit vortex_gameport_register(vortex_t * card); | 279 | static int vortex_gameport_register(vortex_t * card); |
281 | static void vortex_gameport_unregister(vortex_t * card); | 280 | static void vortex_gameport_unregister(vortex_t * card); |
282 | #ifndef CHIP_AU8820 | 281 | #ifndef CHIP_AU8820 |
283 | static int __devinit vortex_eq_init(vortex_t * vortex); | 282 | static int vortex_eq_init(vortex_t * vortex); |
284 | static int __devexit vortex_eq_free(vortex_t * vortex); | 283 | static int vortex_eq_free(vortex_t * vortex); |
285 | #endif | 284 | #endif |
286 | /* ALSA stuff. */ | 285 | /* ALSA stuff. */ |
287 | static int __devinit snd_vortex_new_pcm(vortex_t * vortex, int idx, int nr); | 286 | static int snd_vortex_new_pcm(vortex_t * vortex, int idx, int nr); |
288 | static int __devinit snd_vortex_mixer(vortex_t * vortex); | 287 | static int snd_vortex_mixer(vortex_t * vortex); |
289 | static int __devinit snd_vortex_midi(vortex_t * vortex); | 288 | static int snd_vortex_midi(vortex_t * vortex); |
290 | #endif | 289 | #endif |
diff --git a/sound/pci/au88x0/au88x0_core.c b/sound/pci/au88x0/au88x0_core.c index 9cac02e93b25..4347e6abc1d5 100644 --- a/sound/pci/au88x0/au88x0_core.c +++ b/sound/pci/au88x0/au88x0_core.c | |||
@@ -2658,7 +2658,7 @@ static void vortex_spdif_init(vortex_t * vortex, int spdif_sr, int spdif_mode) | |||
2658 | 2658 | ||
2659 | /* Initialization */ | 2659 | /* Initialization */ |
2660 | 2660 | ||
2661 | static int vortex_core_init(vortex_t * vortex) | 2661 | static int __devinit vortex_core_init(vortex_t * vortex) |
2662 | { | 2662 | { |
2663 | 2663 | ||
2664 | printk(KERN_INFO "Vortex: init.... "); | 2664 | printk(KERN_INFO "Vortex: init.... "); |
diff --git a/sound/pci/au88x0/au88x0_eq.c b/sound/pci/au88x0/au88x0_eq.c index 64fbfbbaf816..0c86a31c4336 100644 --- a/sound/pci/au88x0/au88x0_eq.c +++ b/sound/pci/au88x0/au88x0_eq.c | |||
@@ -885,7 +885,7 @@ static char *EqBandLabels[10] __devinitdata = { | |||
885 | }; | 885 | }; |
886 | 886 | ||
887 | /* ALSA driver entry points. Init and exit. */ | 887 | /* ALSA driver entry points. Init and exit. */ |
888 | static int vortex_eq_init(vortex_t * vortex) | 888 | static int __devinit vortex_eq_init(vortex_t * vortex) |
889 | { | 889 | { |
890 | struct snd_kcontrol *kcontrol; | 890 | struct snd_kcontrol *kcontrol; |
891 | int err, i; | 891 | int err, i; |
diff --git a/sound/pci/au88x0/au88x0_pcm.c b/sound/pci/au88x0/au88x0_pcm.c index 6a13ca1d545e..7b5baa173859 100644 --- a/sound/pci/au88x0/au88x0_pcm.c +++ b/sound/pci/au88x0/au88x0_pcm.c | |||
@@ -506,7 +506,7 @@ static int __devinit snd_vortex_new_pcm(vortex_t * chip, int idx, int nr) | |||
506 | int i; | 506 | int i; |
507 | int err, nr_capt; | 507 | int err, nr_capt; |
508 | 508 | ||
509 | if ((chip == 0) || (idx < 0) || (idx > VORTEX_PCM_LAST)) | 509 | if ((chip == 0) || (idx < 0) || (idx >= VORTEX_PCM_LAST)) |
510 | return -ENODEV; | 510 | return -ENODEV; |
511 | 511 | ||
512 | /* idx indicates which kind of PCM device. ADB, SPDIF, I2S and A3D share the | 512 | /* idx indicates which kind of PCM device. ADB, SPDIF, I2S and A3D share the |
diff --git a/sound/pci/emu10k1/emu10k1_main.c b/sound/pci/emu10k1/emu10k1_main.c index 31cb9b48bb59..6bfa08436efa 100644 --- a/sound/pci/emu10k1/emu10k1_main.c +++ b/sound/pci/emu10k1/emu10k1_main.c | |||
@@ -843,8 +843,11 @@ static struct snd_emu_chip_details emu_chip_details[] = { | |||
843 | .spdif_bug = 1, | 843 | .spdif_bug = 1, |
844 | .ac97_chip = 1} , | 844 | .ac97_chip = 1} , |
845 | /* Tested by shane-alsa@cm.nu 5th Nov 2005 */ | 845 | /* Tested by shane-alsa@cm.nu 5th Nov 2005 */ |
846 | /* The 0x20061102 does have SB0350 written on it | ||
847 | * Just like 0x20021102 | ||
848 | */ | ||
846 | {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20061102, | 849 | {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20061102, |
847 | .driver = "Audigy2", .name = "Audigy 2 [2006]", | 850 | .driver = "Audigy2", .name = "Audigy 2 [SB0350b]", |
848 | .id = "Audigy2", | 851 | .id = "Audigy2", |
849 | .emu10k2_chip = 1, | 852 | .emu10k2_chip = 1, |
850 | .ca0102_chip = 1, | 853 | .ca0102_chip = 1, |
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index 2bfe37e8543c..bcfca159c6a2 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c | |||
@@ -801,6 +801,10 @@ static struct hda_board_config ad1986a_cfg_tbl[] = { | |||
801 | .config = AD1986A_LAPTOP_EAPD }, /* Samsung R65-T2300 Charis */ | 801 | .config = AD1986A_LAPTOP_EAPD }, /* Samsung R65-T2300 Charis */ |
802 | { .pci_subvendor = 0x1043, .pci_subdevice = 0x1213, | 802 | { .pci_subvendor = 0x1043, .pci_subdevice = 0x1213, |
803 | .config = AD1986A_LAPTOP_EAPD }, /* ASUS A6J */ | 803 | .config = AD1986A_LAPTOP_EAPD }, /* ASUS A6J */ |
804 | { .pci_subvendor = 0x1043, .pci_subdevice = 0x11f7, | ||
805 | .config = AD1986A_LAPTOP_EAPD }, /* ASUS U5A */ | ||
806 | { .pci_subvendor = 0x103c, .pci_subdevice = 0x30af, | ||
807 | .config = AD1986A_LAPTOP_EAPD }, /* HP Compaq Presario B2800 */ | ||
804 | {} | 808 | {} |
805 | }; | 809 | }; |
806 | 810 | ||
@@ -1330,6 +1334,8 @@ static struct hda_board_config ad1981_cfg_tbl[] = { | |||
1330 | .config = AD1981_HP }, /* HP nx6320 */ | 1334 | .config = AD1981_HP }, /* HP nx6320 */ |
1331 | { .pci_subvendor = 0x103c, .pci_subdevice = 0x309f, | 1335 | { .pci_subvendor = 0x103c, .pci_subdevice = 0x309f, |
1332 | .config = AD1981_HP }, /* HP nx9420 AngelFire */ | 1336 | .config = AD1981_HP }, /* HP nx9420 AngelFire */ |
1337 | { .pci_subvendor = 0x103c, .pci_subdevice = 0x30a2, | ||
1338 | .config = AD1981_HP }, /* HP nx9420 AngelFire */ | ||
1333 | { .modelname = "basic", .config = AD1981_BASIC }, | 1339 | { .modelname = "basic", .config = AD1981_BASIC }, |
1334 | {} | 1340 | {} |
1335 | }; | 1341 | }; |
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index abe9493f0a2c..715260787953 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -310,6 +310,9 @@ static struct hda_board_config stac922x_cfg_tbl[] = { | |||
310 | .pci_subdevice = 0x0b0b, | 310 | .pci_subdevice = 0x0b0b, |
311 | .config = STAC_D945GTP3 }, /* Intel D945PSN - 3 Stack, 9221 A1 */ | 311 | .config = STAC_D945GTP3 }, /* Intel D945PSN - 3 Stack, 9221 A1 */ |
312 | { .pci_subvendor = PCI_VENDOR_ID_INTEL, | 312 | { .pci_subvendor = PCI_VENDOR_ID_INTEL, |
313 | .pci_subdevice = 0x0707, | ||
314 | .config = STAC_D945GTP5 }, /* Intel D945PSV - 5 Stack */ | ||
315 | { .pci_subvendor = PCI_VENDOR_ID_INTEL, | ||
313 | .pci_subdevice = 0x0404, | 316 | .pci_subdevice = 0x0404, |
314 | .config = STAC_D945GTP5 }, /* Intel D945GTP - 5 Stack */ | 317 | .config = STAC_D945GTP5 }, /* Intel D945GTP - 5 Stack */ |
315 | { .pci_subvendor = PCI_VENDOR_ID_INTEL, | 318 | { .pci_subvendor = PCI_VENDOR_ID_INTEL, |
diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c index 1e7398de2865..0f171dd1377b 100644 --- a/sound/pci/via82xx.c +++ b/sound/pci/via82xx.c | |||
@@ -2333,6 +2333,7 @@ static int __devinit check_dxs_list(struct pci_dev *pci) | |||
2333 | { .subvendor = 0x1019, .subdevice = 0x0a81, .action = VIA_DXS_NO_VRA }, /* ECS K7VTA3 v8.0 */ | 2333 | { .subvendor = 0x1019, .subdevice = 0x0a81, .action = VIA_DXS_NO_VRA }, /* ECS K7VTA3 v8.0 */ |
2334 | { .subvendor = 0x1019, .subdevice = 0x0a85, .action = VIA_DXS_NO_VRA }, /* ECS L7VMM2 */ | 2334 | { .subvendor = 0x1019, .subdevice = 0x0a85, .action = VIA_DXS_NO_VRA }, /* ECS L7VMM2 */ |
2335 | { .subvendor = 0x1019, .subdevice = 0xa101, .action = VIA_DXS_SRC }, | 2335 | { .subvendor = 0x1019, .subdevice = 0xa101, .action = VIA_DXS_SRC }, |
2336 | { .subvendor = 0x1019, .subdevice = 0xaa01, .action = VIA_DXS_SRC }, /* ECS K8T890-A */ | ||
2336 | { .subvendor = 0x1025, .subdevice = 0x0033, .action = VIA_DXS_NO_VRA }, /* Acer Inspire 1353LM */ | 2337 | { .subvendor = 0x1025, .subdevice = 0x0033, .action = VIA_DXS_NO_VRA }, /* Acer Inspire 1353LM */ |
2337 | { .subvendor = 0x1025, .subdevice = 0x0046, .action = VIA_DXS_SRC }, /* Acer Aspire 1524 WLMi */ | 2338 | { .subvendor = 0x1025, .subdevice = 0x0046, .action = VIA_DXS_SRC }, /* Acer Aspire 1524 WLMi */ |
2338 | { .subvendor = 0x1043, .subdevice = 0x8095, .action = VIA_DXS_NO_VRA }, /* ASUS A7V8X (FIXME: possibly VIA_DXS_ENABLE?)*/ | 2339 | { .subvendor = 0x1043, .subdevice = 0x8095, .action = VIA_DXS_NO_VRA }, /* ASUS A7V8X (FIXME: possibly VIA_DXS_ENABLE?)*/ |