diff options
Diffstat (limited to 'sound/pci/ice1712')
-rw-r--r-- | sound/pci/ice1712/amp.c | 7 | ||||
-rw-r--r-- | sound/pci/ice1712/ice1712.c | 6 | ||||
-rw-r--r-- | sound/pci/ice1712/ice1724.c | 4 |
3 files changed, 10 insertions, 7 deletions
diff --git a/sound/pci/ice1712/amp.c b/sound/pci/ice1712/amp.c index e328cfb7620..e525da2673b 100644 --- a/sound/pci/ice1712/amp.c +++ b/sound/pci/ice1712/amp.c | |||
@@ -68,8 +68,11 @@ static int __devinit snd_vt1724_amp_init(struct snd_ice1712 *ice) | |||
68 | 68 | ||
69 | static int __devinit snd_vt1724_amp_add_controls(struct snd_ice1712 *ice) | 69 | static int __devinit snd_vt1724_amp_add_controls(struct snd_ice1712 *ice) |
70 | { | 70 | { |
71 | /* we use pins 39 and 41 of the VT1616 for left and right read outputs */ | 71 | if (ice->ac97) |
72 | snd_ac97_write_cache(ice->ac97, 0x5a, snd_ac97_read(ice->ac97, 0x5a) & ~0x8000); | 72 | /* we use pins 39 and 41 of the VT1616 for left and right |
73 | read outputs */ | ||
74 | snd_ac97_write_cache(ice->ac97, 0x5a, | ||
75 | snd_ac97_read(ice->ac97, 0x5a) & ~0x8000); | ||
73 | return 0; | 76 | return 0; |
74 | } | 77 | } |
75 | 78 | ||
diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c index f4594d76b6e..0ccc0eb7577 100644 --- a/sound/pci/ice1712/ice1712.c +++ b/sound/pci/ice1712/ice1712.c | |||
@@ -87,7 +87,7 @@ static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ | |||
87 | static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;/* Enable this card */ | 87 | static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;/* Enable this card */ |
88 | static char *model[SNDRV_CARDS]; | 88 | static char *model[SNDRV_CARDS]; |
89 | static int omni[SNDRV_CARDS]; /* Delta44 & 66 Omni I/O support */ | 89 | static int omni[SNDRV_CARDS]; /* Delta44 & 66 Omni I/O support */ |
90 | static int cs8427_timeout[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 500}; /* CS8427 S/PDIF transciever reset timeout value in msec */ | 90 | static int cs8427_timeout[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 500}; /* CS8427 S/PDIF transceiver reset timeout value in msec */ |
91 | static int dxr_enable[SNDRV_CARDS]; /* DXR enable for DMX6FIRE */ | 91 | static int dxr_enable[SNDRV_CARDS]; /* DXR enable for DMX6FIRE */ |
92 | 92 | ||
93 | module_param_array(index, int, NULL, 0444); | 93 | module_param_array(index, int, NULL, 0444); |
@@ -2607,7 +2607,7 @@ static int __devinit snd_ice1712_create(struct snd_card *card, | |||
2607 | ice->profi_port = pci_resource_start(pci, 3); | 2607 | ice->profi_port = pci_resource_start(pci, 3); |
2608 | 2608 | ||
2609 | if (request_irq(pci->irq, snd_ice1712_interrupt, IRQF_SHARED, | 2609 | if (request_irq(pci->irq, snd_ice1712_interrupt, IRQF_SHARED, |
2610 | "ICE1712", ice)) { | 2610 | KBUILD_MODNAME, ice)) { |
2611 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 2611 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
2612 | snd_ice1712_free(ice); | 2612 | snd_ice1712_free(ice); |
2613 | return -EIO; | 2613 | return -EIO; |
@@ -2802,7 +2802,7 @@ static void __devexit snd_ice1712_remove(struct pci_dev *pci) | |||
2802 | } | 2802 | } |
2803 | 2803 | ||
2804 | static struct pci_driver driver = { | 2804 | static struct pci_driver driver = { |
2805 | .name = "ICE1712", | 2805 | .name = KBUILD_MODNAME, |
2806 | .id_table = snd_ice1712_ids, | 2806 | .id_table = snd_ice1712_ids, |
2807 | .probe = snd_ice1712_probe, | 2807 | .probe = snd_ice1712_probe, |
2808 | .remove = __devexit_p(snd_ice1712_remove), | 2808 | .remove = __devexit_p(snd_ice1712_remove), |
diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c index c1498fa5545..c2b7f8bc41e 100644 --- a/sound/pci/ice1712/ice1724.c +++ b/sound/pci/ice1712/ice1724.c | |||
@@ -2509,7 +2509,7 @@ static int __devinit snd_vt1724_create(struct snd_card *card, | |||
2509 | ice->profi_port = pci_resource_start(pci, 1); | 2509 | ice->profi_port = pci_resource_start(pci, 1); |
2510 | 2510 | ||
2511 | if (request_irq(pci->irq, snd_vt1724_interrupt, | 2511 | if (request_irq(pci->irq, snd_vt1724_interrupt, |
2512 | IRQF_SHARED, "ICE1724", ice)) { | 2512 | IRQF_SHARED, KBUILD_MODNAME, ice)) { |
2513 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 2513 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
2514 | snd_vt1724_free(ice); | 2514 | snd_vt1724_free(ice); |
2515 | return -EIO; | 2515 | return -EIO; |
@@ -2802,7 +2802,7 @@ static int snd_vt1724_resume(struct pci_dev *pci) | |||
2802 | #endif | 2802 | #endif |
2803 | 2803 | ||
2804 | static struct pci_driver driver = { | 2804 | static struct pci_driver driver = { |
2805 | .name = "ICE1724", | 2805 | .name = KBUILD_MODNAME, |
2806 | .id_table = snd_vt1724_ids, | 2806 | .id_table = snd_vt1724_ids, |
2807 | .probe = snd_vt1724_probe, | 2807 | .probe = snd_vt1724_probe, |
2808 | .remove = __devexit_p(snd_vt1724_remove), | 2808 | .remove = __devexit_p(snd_vt1724_remove), |