diff options
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/ad1889.c | 4 | ||||
-rw-r--r-- | sound/pci/ali5451/ali5451.c | 4 | ||||
-rw-r--r-- | sound/pci/als300.c | 4 | ||||
-rw-r--r-- | sound/pci/als4000.c | 4 | ||||
-rw-r--r-- | sound/pci/au88x0/au88x0.c | 4 | ||||
-rw-r--r-- | sound/pci/aw2/aw2-alsa.c | 4 | ||||
-rw-r--r-- | sound/pci/azt3328.c | 4 | ||||
-rw-r--r-- | sound/pci/ca0106/ca0106_main.c | 4 | ||||
-rw-r--r-- | sound/pci/cs5535audio/cs5535audio.c | 4 | ||||
-rw-r--r-- | sound/pci/emu10k1/emu10k1x.c | 4 | ||||
-rw-r--r-- | sound/pci/es1938.c | 4 | ||||
-rw-r--r-- | sound/pci/es1968.c | 4 | ||||
-rw-r--r-- | sound/pci/hda/patch_analog.c | 2 | ||||
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 5 | ||||
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 20 | ||||
-rw-r--r-- | sound/pci/ice1712/ice1712.c | 4 | ||||
-rw-r--r-- | sound/pci/maestro3.c | 4 | ||||
-rw-r--r-- | sound/pci/mixart/mixart.c | 2 | ||||
-rw-r--r-- | sound/pci/pcxhr/pcxhr.c | 2 | ||||
-rw-r--r-- | sound/pci/sis7019.c | 2 | ||||
-rw-r--r-- | sound/pci/sonicvibes.c | 4 | ||||
-rw-r--r-- | sound/pci/trident/trident_main.c | 4 |
22 files changed, 61 insertions, 36 deletions
diff --git a/sound/pci/ad1889.c b/sound/pci/ad1889.c index d1f242bd0ac5..8f5098f92c37 100644 --- a/sound/pci/ad1889.c +++ b/sound/pci/ad1889.c | |||
@@ -909,8 +909,8 @@ snd_ad1889_create(struct snd_card *card, | |||
909 | return err; | 909 | return err; |
910 | 910 | ||
911 | /* check PCI availability (32bit DMA) */ | 911 | /* check PCI availability (32bit DMA) */ |
912 | if (pci_set_dma_mask(pci, DMA_32BIT_MASK) < 0 || | 912 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(32)) < 0 || |
913 | pci_set_consistent_dma_mask(pci, DMA_32BIT_MASK) < 0) { | 913 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(32)) < 0) { |
914 | printk(KERN_ERR PFX "error setting 32-bit DMA mask.\n"); | 914 | printk(KERN_ERR PFX "error setting 32-bit DMA mask.\n"); |
915 | pci_disable_device(pci); | 915 | pci_disable_device(pci); |
916 | return -ENXIO; | 916 | return -ENXIO; |
diff --git a/sound/pci/ali5451/ali5451.c b/sound/pci/ali5451/ali5451.c index 4edf270a7809..c551006e2920 100644 --- a/sound/pci/ali5451/ali5451.c +++ b/sound/pci/ali5451/ali5451.c | |||
@@ -2186,8 +2186,8 @@ static int __devinit snd_ali_create(struct snd_card *card, | |||
2186 | if (err < 0) | 2186 | if (err < 0) |
2187 | return err; | 2187 | return err; |
2188 | /* check, if we can restrict PCI DMA transfers to 31 bits */ | 2188 | /* check, if we can restrict PCI DMA transfers to 31 bits */ |
2189 | if (pci_set_dma_mask(pci, DMA_31BIT_MASK) < 0 || | 2189 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(31)) < 0 || |
2190 | pci_set_consistent_dma_mask(pci, DMA_31BIT_MASK) < 0) { | 2190 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(31)) < 0) { |
2191 | snd_printk(KERN_ERR "architecture does not support " | 2191 | snd_printk(KERN_ERR "architecture does not support " |
2192 | "31bit PCI busmaster DMA\n"); | 2192 | "31bit PCI busmaster DMA\n"); |
2193 | pci_disable_device(pci); | 2193 | pci_disable_device(pci); |
diff --git a/sound/pci/als300.c b/sound/pci/als300.c index 009b4c8225a5..3aa35af7ca91 100644 --- a/sound/pci/als300.c +++ b/sound/pci/als300.c | |||
@@ -689,8 +689,8 @@ static int __devinit snd_als300_create(struct snd_card *card, | |||
689 | if ((err = pci_enable_device(pci)) < 0) | 689 | if ((err = pci_enable_device(pci)) < 0) |
690 | return err; | 690 | return err; |
691 | 691 | ||
692 | if (pci_set_dma_mask(pci, DMA_28BIT_MASK) < 0 || | 692 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(28)) < 0 || |
693 | pci_set_consistent_dma_mask(pci, DMA_28BIT_MASK) < 0) { | 693 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(28)) < 0) { |
694 | printk(KERN_ERR "error setting 28bit DMA mask\n"); | 694 | printk(KERN_ERR "error setting 28bit DMA mask\n"); |
695 | pci_disable_device(pci); | 695 | pci_disable_device(pci); |
696 | return -ENXIO; | 696 | return -ENXIO; |
diff --git a/sound/pci/als4000.c b/sound/pci/als4000.c index 542a0c65a92c..3dbacde1a5af 100644 --- a/sound/pci/als4000.c +++ b/sound/pci/als4000.c | |||
@@ -872,8 +872,8 @@ static int __devinit snd_card_als4000_probe(struct pci_dev *pci, | |||
872 | return err; | 872 | return err; |
873 | } | 873 | } |
874 | /* check, if we can restrict PCI DMA transfers to 24 bits */ | 874 | /* check, if we can restrict PCI DMA transfers to 24 bits */ |
875 | if (pci_set_dma_mask(pci, DMA_24BIT_MASK) < 0 || | 875 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(24)) < 0 || |
876 | pci_set_consistent_dma_mask(pci, DMA_24BIT_MASK) < 0) { | 876 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(24)) < 0) { |
877 | snd_printk(KERN_ERR "architecture does not support 24bit PCI busmaster DMA\n"); | 877 | snd_printk(KERN_ERR "architecture does not support 24bit PCI busmaster DMA\n"); |
878 | pci_disable_device(pci); | 878 | pci_disable_device(pci); |
879 | return -ENXIO; | 879 | return -ENXIO; |
diff --git a/sound/pci/au88x0/au88x0.c b/sound/pci/au88x0/au88x0.c index 9ec122383eef..7b72c88e449d 100644 --- a/sound/pci/au88x0/au88x0.c +++ b/sound/pci/au88x0/au88x0.c | |||
@@ -151,8 +151,8 @@ snd_vortex_create(struct snd_card *card, struct pci_dev *pci, vortex_t ** rchip) | |||
151 | // check PCI availability (DMA). | 151 | // check PCI availability (DMA). |
152 | if ((err = pci_enable_device(pci)) < 0) | 152 | if ((err = pci_enable_device(pci)) < 0) |
153 | return err; | 153 | return err; |
154 | if (pci_set_dma_mask(pci, DMA_32BIT_MASK) < 0 || | 154 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(32)) < 0 || |
155 | pci_set_consistent_dma_mask(pci, DMA_32BIT_MASK) < 0) { | 155 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(32)) < 0) { |
156 | printk(KERN_ERR "error to set DMA mask\n"); | 156 | printk(KERN_ERR "error to set DMA mask\n"); |
157 | pci_disable_device(pci); | 157 | pci_disable_device(pci); |
158 | return -ENXIO; | 158 | return -ENXIO; |
diff --git a/sound/pci/aw2/aw2-alsa.c b/sound/pci/aw2/aw2-alsa.c index 8eea29fc42fe..4d34bb0d99d3 100644 --- a/sound/pci/aw2/aw2-alsa.c +++ b/sound/pci/aw2/aw2-alsa.c | |||
@@ -279,8 +279,8 @@ static int __devinit snd_aw2_create(struct snd_card *card, | |||
279 | pci_set_master(pci); | 279 | pci_set_master(pci); |
280 | 280 | ||
281 | /* check PCI availability (32bit DMA) */ | 281 | /* check PCI availability (32bit DMA) */ |
282 | if ((pci_set_dma_mask(pci, DMA_32BIT_MASK) < 0) || | 282 | if ((pci_set_dma_mask(pci, DMA_BIT_MASK(32)) < 0) || |
283 | (pci_set_consistent_dma_mask(pci, DMA_32BIT_MASK) < 0)) { | 283 | (pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(32)) < 0)) { |
284 | printk(KERN_ERR "aw2: Impossible to set 32bit mask DMA\n"); | 284 | printk(KERN_ERR "aw2: Impossible to set 32bit mask DMA\n"); |
285 | pci_disable_device(pci); | 285 | pci_disable_device(pci); |
286 | return -ENXIO; | 286 | return -ENXIO; |
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c index e9e9b5821d41..f290bc56178f 100644 --- a/sound/pci/azt3328.c +++ b/sound/pci/azt3328.c | |||
@@ -2125,8 +2125,8 @@ snd_azf3328_create(struct snd_card *card, | |||
2125 | chip->irq = -1; | 2125 | chip->irq = -1; |
2126 | 2126 | ||
2127 | /* check if we can restrict PCI DMA transfers to 24 bits */ | 2127 | /* check if we can restrict PCI DMA transfers to 24 bits */ |
2128 | if (pci_set_dma_mask(pci, DMA_24BIT_MASK) < 0 || | 2128 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(24)) < 0 || |
2129 | pci_set_consistent_dma_mask(pci, DMA_24BIT_MASK) < 0) { | 2129 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(24)) < 0) { |
2130 | snd_printk(KERN_ERR "architecture does not support " | 2130 | snd_printk(KERN_ERR "architecture does not support " |
2131 | "24bit PCI busmaster DMA\n" | 2131 | "24bit PCI busmaster DMA\n" |
2132 | ); | 2132 | ); |
diff --git a/sound/pci/ca0106/ca0106_main.c b/sound/pci/ca0106/ca0106_main.c index df757575798a..bfac30f7929f 100644 --- a/sound/pci/ca0106/ca0106_main.c +++ b/sound/pci/ca0106/ca0106_main.c | |||
@@ -1589,8 +1589,8 @@ static int __devinit snd_ca0106_create(int dev, struct snd_card *card, | |||
1589 | err = pci_enable_device(pci); | 1589 | err = pci_enable_device(pci); |
1590 | if (err < 0) | 1590 | if (err < 0) |
1591 | return err; | 1591 | return err; |
1592 | if (pci_set_dma_mask(pci, DMA_32BIT_MASK) < 0 || | 1592 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(32)) < 0 || |
1593 | pci_set_consistent_dma_mask(pci, DMA_32BIT_MASK) < 0) { | 1593 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(32)) < 0) { |
1594 | printk(KERN_ERR "error to set 32bit mask DMA\n"); | 1594 | printk(KERN_ERR "error to set 32bit mask DMA\n"); |
1595 | pci_disable_device(pci); | 1595 | pci_disable_device(pci); |
1596 | return -ENXIO; | 1596 | return -ENXIO; |
diff --git a/sound/pci/cs5535audio/cs5535audio.c b/sound/pci/cs5535audio/cs5535audio.c index c89ed1f5bc2b..05f56e04849b 100644 --- a/sound/pci/cs5535audio/cs5535audio.c +++ b/sound/pci/cs5535audio/cs5535audio.c | |||
@@ -285,8 +285,8 @@ static int __devinit snd_cs5535audio_create(struct snd_card *card, | |||
285 | if ((err = pci_enable_device(pci)) < 0) | 285 | if ((err = pci_enable_device(pci)) < 0) |
286 | return err; | 286 | return err; |
287 | 287 | ||
288 | if (pci_set_dma_mask(pci, DMA_32BIT_MASK) < 0 || | 288 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(32)) < 0 || |
289 | pci_set_consistent_dma_mask(pci, DMA_32BIT_MASK) < 0) { | 289 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(32)) < 0) { |
290 | printk(KERN_WARNING "unable to get 32bit dma\n"); | 290 | printk(KERN_WARNING "unable to get 32bit dma\n"); |
291 | err = -ENXIO; | 291 | err = -ENXIO; |
292 | goto pcifail; | 292 | goto pcifail; |
diff --git a/sound/pci/emu10k1/emu10k1x.c b/sound/pci/emu10k1/emu10k1x.c index 31542adc6b7e..1970f0e70f37 100644 --- a/sound/pci/emu10k1/emu10k1x.c +++ b/sound/pci/emu10k1/emu10k1x.c | |||
@@ -897,8 +897,8 @@ static int __devinit snd_emu10k1x_create(struct snd_card *card, | |||
897 | 897 | ||
898 | if ((err = pci_enable_device(pci)) < 0) | 898 | if ((err = pci_enable_device(pci)) < 0) |
899 | return err; | 899 | return err; |
900 | if (pci_set_dma_mask(pci, DMA_28BIT_MASK) < 0 || | 900 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(28)) < 0 || |
901 | pci_set_consistent_dma_mask(pci, DMA_28BIT_MASK) < 0) { | 901 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(28)) < 0) { |
902 | snd_printk(KERN_ERR "error to set 28bit mask DMA\n"); | 902 | snd_printk(KERN_ERR "error to set 28bit mask DMA\n"); |
903 | pci_disable_device(pci); | 903 | pci_disable_device(pci); |
904 | return -ENXIO; | 904 | return -ENXIO; |
diff --git a/sound/pci/es1938.c b/sound/pci/es1938.c index dd63b132fb8e..fbd2ac09aa34 100644 --- a/sound/pci/es1938.c +++ b/sound/pci/es1938.c | |||
@@ -1608,8 +1608,8 @@ static int __devinit snd_es1938_create(struct snd_card *card, | |||
1608 | if ((err = pci_enable_device(pci)) < 0) | 1608 | if ((err = pci_enable_device(pci)) < 0) |
1609 | return err; | 1609 | return err; |
1610 | /* check, if we can restrict PCI DMA transfers to 24 bits */ | 1610 | /* check, if we can restrict PCI DMA transfers to 24 bits */ |
1611 | if (pci_set_dma_mask(pci, DMA_24BIT_MASK) < 0 || | 1611 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(24)) < 0 || |
1612 | pci_set_consistent_dma_mask(pci, DMA_24BIT_MASK) < 0) { | 1612 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(24)) < 0) { |
1613 | snd_printk(KERN_ERR "architecture does not support 24bit PCI busmaster DMA\n"); | 1613 | snd_printk(KERN_ERR "architecture does not support 24bit PCI busmaster DMA\n"); |
1614 | pci_disable_device(pci); | 1614 | pci_disable_device(pci); |
1615 | return -ENXIO; | 1615 | return -ENXIO; |
diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c index dc97e8116141..a11f453a6b6d 100644 --- a/sound/pci/es1968.c +++ b/sound/pci/es1968.c | |||
@@ -2539,8 +2539,8 @@ static int __devinit snd_es1968_create(struct snd_card *card, | |||
2539 | if ((err = pci_enable_device(pci)) < 0) | 2539 | if ((err = pci_enable_device(pci)) < 0) |
2540 | return err; | 2540 | return err; |
2541 | /* check, if we can restrict PCI DMA transfers to 28 bits */ | 2541 | /* check, if we can restrict PCI DMA transfers to 28 bits */ |
2542 | if (pci_set_dma_mask(pci, DMA_28BIT_MASK) < 0 || | 2542 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(28)) < 0 || |
2543 | pci_set_consistent_dma_mask(pci, DMA_28BIT_MASK) < 0) { | 2543 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(28)) < 0) { |
2544 | snd_printk(KERN_ERR "architecture does not support 28bit PCI busmaster DMA\n"); | 2544 | snd_printk(KERN_ERR "architecture does not support 28bit PCI busmaster DMA\n"); |
2545 | pci_disable_device(pci); | 2545 | pci_disable_device(pci); |
2546 | return -ENXIO; | 2546 | return -ENXIO; |
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index 5bb48ee8b6c6..38ad3f7b040f 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c | |||
@@ -3256,7 +3256,7 @@ static const char *ad1884_slave_vols[] = { | |||
3256 | "Mic Playback Volume", | 3256 | "Mic Playback Volume", |
3257 | "CD Playback Volume", | 3257 | "CD Playback Volume", |
3258 | "Internal Mic Playback Volume", | 3258 | "Internal Mic Playback Volume", |
3259 | "Docking Mic Playback Volume" | 3259 | "Docking Mic Playback Volume", |
3260 | /* "Beep Playback Volume", */ | 3260 | /* "Beep Playback Volume", */ |
3261 | "IEC958 Playback Volume", | 3261 | "IEC958 Playback Volume", |
3262 | NULL | 3262 | NULL |
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 82097790f6f3..f35e58a2d921 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -8764,6 +8764,10 @@ static struct snd_pci_quirk alc883_cfg_tbl[] = { | |||
8764 | {} | 8764 | {} |
8765 | }; | 8765 | }; |
8766 | 8766 | ||
8767 | static hda_nid_t alc883_slave_dig_outs[] = { | ||
8768 | ALC1200_DIGOUT_NID, 0, | ||
8769 | }; | ||
8770 | |||
8767 | static hda_nid_t alc1200_slave_dig_outs[] = { | 8771 | static hda_nid_t alc1200_slave_dig_outs[] = { |
8768 | ALC883_DIGOUT_NID, 0, | 8772 | ALC883_DIGOUT_NID, 0, |
8769 | }; | 8773 | }; |
@@ -8809,6 +8813,7 @@ static struct alc_config_preset alc883_presets[] = { | |||
8809 | .dac_nids = alc883_dac_nids, | 8813 | .dac_nids = alc883_dac_nids, |
8810 | .dig_out_nid = ALC883_DIGOUT_NID, | 8814 | .dig_out_nid = ALC883_DIGOUT_NID, |
8811 | .dig_in_nid = ALC883_DIGIN_NID, | 8815 | .dig_in_nid = ALC883_DIGIN_NID, |
8816 | .slave_dig_outs = alc883_slave_dig_outs, | ||
8812 | .num_channel_mode = ARRAY_SIZE(alc883_3ST_6ch_intel_modes), | 8817 | .num_channel_mode = ARRAY_SIZE(alc883_3ST_6ch_intel_modes), |
8813 | .channel_mode = alc883_3ST_6ch_intel_modes, | 8818 | .channel_mode = alc883_3ST_6ch_intel_modes, |
8814 | .need_dac_fix = 1, | 8819 | .need_dac_fix = 1, |
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index b5e108aa8f63..61996a2f45df 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -4413,6 +4413,24 @@ static void stac92xx_unsol_event(struct hda_codec *codec, unsigned int res) | |||
4413 | if (spec->num_pwrs > 0) | 4413 | if (spec->num_pwrs > 0) |
4414 | stac92xx_pin_sense(codec, event->nid); | 4414 | stac92xx_pin_sense(codec, event->nid); |
4415 | stac92xx_report_jack(codec, event->nid); | 4415 | stac92xx_report_jack(codec, event->nid); |
4416 | |||
4417 | switch (codec->subsystem_id) { | ||
4418 | case 0x103c308f: | ||
4419 | if (event->nid == 0xb) { | ||
4420 | int pin = AC_PINCTL_IN_EN; | ||
4421 | |||
4422 | if (get_pin_presence(codec, 0xa) | ||
4423 | && get_pin_presence(codec, 0xb)) | ||
4424 | pin |= AC_PINCTL_VREF_80; | ||
4425 | if (!get_pin_presence(codec, 0xb)) | ||
4426 | pin |= AC_PINCTL_VREF_80; | ||
4427 | |||
4428 | /* toggle VREF state based on mic + hp pin | ||
4429 | * status | ||
4430 | */ | ||
4431 | stac92xx_auto_set_pinctl(codec, 0x0a, pin); | ||
4432 | } | ||
4433 | } | ||
4416 | break; | 4434 | break; |
4417 | case STAC_VREF_EVENT: | 4435 | case STAC_VREF_EVENT: |
4418 | data = snd_hda_codec_read(codec, codec->afg, 0, | 4436 | data = snd_hda_codec_read(codec, codec->afg, 0, |
@@ -4895,6 +4913,7 @@ again: | |||
4895 | switch (codec->vendor_id) { | 4913 | switch (codec->vendor_id) { |
4896 | case 0x111d7604: | 4914 | case 0x111d7604: |
4897 | case 0x111d7605: | 4915 | case 0x111d7605: |
4916 | case 0x111d76d5: | ||
4898 | if (spec->board_config == STAC_92HD83XXX_PWR_REF) | 4917 | if (spec->board_config == STAC_92HD83XXX_PWR_REF) |
4899 | break; | 4918 | break; |
4900 | spec->num_pwrs = 0; | 4919 | spec->num_pwrs = 0; |
@@ -5707,6 +5726,7 @@ static struct hda_codec_preset snd_hda_preset_sigmatel[] = { | |||
5707 | { .id = 0x111d7603, .name = "92HD75B3X5", .patch = patch_stac92hd71bxx}, | 5726 | { .id = 0x111d7603, .name = "92HD75B3X5", .patch = patch_stac92hd71bxx}, |
5708 | { .id = 0x111d7604, .name = "92HD83C1X5", .patch = patch_stac92hd83xxx}, | 5727 | { .id = 0x111d7604, .name = "92HD83C1X5", .patch = patch_stac92hd83xxx}, |
5709 | { .id = 0x111d7605, .name = "92HD81B1X5", .patch = patch_stac92hd83xxx}, | 5728 | { .id = 0x111d7605, .name = "92HD81B1X5", .patch = patch_stac92hd83xxx}, |
5729 | { .id = 0x111d76d5, .name = "92HD81B1C5", .patch = patch_stac92hd83xxx}, | ||
5710 | { .id = 0x111d7608, .name = "92HD75B2X5", .patch = patch_stac92hd71bxx}, | 5730 | { .id = 0x111d7608, .name = "92HD75B2X5", .patch = patch_stac92hd71bxx}, |
5711 | { .id = 0x111d7674, .name = "92HD73D1X5", .patch = patch_stac92hd73xx }, | 5731 | { .id = 0x111d7674, .name = "92HD73D1X5", .patch = patch_stac92hd73xx }, |
5712 | { .id = 0x111d7675, .name = "92HD73C1X5", .patch = patch_stac92hd73xx }, | 5732 | { .id = 0x111d7675, .name = "92HD73C1X5", .patch = patch_stac92hd73xx }, |
diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c index 3dd63f1cda53..0d0cdbdb4486 100644 --- a/sound/pci/ice1712/ice1712.c +++ b/sound/pci/ice1712/ice1712.c | |||
@@ -2533,8 +2533,8 @@ static int __devinit snd_ice1712_create(struct snd_card *card, | |||
2533 | if (err < 0) | 2533 | if (err < 0) |
2534 | return err; | 2534 | return err; |
2535 | /* check, if we can restrict PCI DMA transfers to 28 bits */ | 2535 | /* check, if we can restrict PCI DMA transfers to 28 bits */ |
2536 | if (pci_set_dma_mask(pci, DMA_28BIT_MASK) < 0 || | 2536 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(28)) < 0 || |
2537 | pci_set_consistent_dma_mask(pci, DMA_28BIT_MASK) < 0) { | 2537 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(28)) < 0) { |
2538 | snd_printk(KERN_ERR "architecture does not support 28bit PCI busmaster DMA\n"); | 2538 | snd_printk(KERN_ERR "architecture does not support 28bit PCI busmaster DMA\n"); |
2539 | pci_disable_device(pci); | 2539 | pci_disable_device(pci); |
2540 | return -ENXIO; | 2540 | return -ENXIO; |
diff --git a/sound/pci/maestro3.c b/sound/pci/maestro3.c index 70141548f251..75283fbb4b3f 100644 --- a/sound/pci/maestro3.c +++ b/sound/pci/maestro3.c | |||
@@ -2530,8 +2530,8 @@ snd_m3_create(struct snd_card *card, struct pci_dev *pci, | |||
2530 | return -EIO; | 2530 | return -EIO; |
2531 | 2531 | ||
2532 | /* check, if we can restrict PCI DMA transfers to 28 bits */ | 2532 | /* check, if we can restrict PCI DMA transfers to 28 bits */ |
2533 | if (pci_set_dma_mask(pci, DMA_28BIT_MASK) < 0 || | 2533 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(28)) < 0 || |
2534 | pci_set_consistent_dma_mask(pci, DMA_28BIT_MASK) < 0) { | 2534 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(28)) < 0) { |
2535 | snd_printk(KERN_ERR "architecture does not support 28bit PCI busmaster DMA\n"); | 2535 | snd_printk(KERN_ERR "architecture does not support 28bit PCI busmaster DMA\n"); |
2536 | pci_disable_device(pci); | 2536 | pci_disable_device(pci); |
2537 | return -ENXIO; | 2537 | return -ENXIO; |
diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c index c1eb84a14c42..82bc5b9e7629 100644 --- a/sound/pci/mixart/mixart.c +++ b/sound/pci/mixart/mixart.c | |||
@@ -1291,7 +1291,7 @@ static int __devinit snd_mixart_probe(struct pci_dev *pci, | |||
1291 | pci_set_master(pci); | 1291 | pci_set_master(pci); |
1292 | 1292 | ||
1293 | /* check if we can restrict PCI DMA transfers to 32 bits */ | 1293 | /* check if we can restrict PCI DMA transfers to 32 bits */ |
1294 | if (pci_set_dma_mask(pci, DMA_32BIT_MASK) < 0) { | 1294 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(32)) < 0) { |
1295 | snd_printk(KERN_ERR "architecture does not support 32bit PCI busmaster DMA\n"); | 1295 | snd_printk(KERN_ERR "architecture does not support 32bit PCI busmaster DMA\n"); |
1296 | pci_disable_device(pci); | 1296 | pci_disable_device(pci); |
1297 | return -ENXIO; | 1297 | return -ENXIO; |
diff --git a/sound/pci/pcxhr/pcxhr.c b/sound/pci/pcxhr/pcxhr.c index 80e064a3efff..833e9c7b27c7 100644 --- a/sound/pci/pcxhr/pcxhr.c +++ b/sound/pci/pcxhr/pcxhr.c | |||
@@ -1449,7 +1449,7 @@ static int __devinit pcxhr_probe(struct pci_dev *pci, | |||
1449 | pci_set_master(pci); | 1449 | pci_set_master(pci); |
1450 | 1450 | ||
1451 | /* check if we can restrict PCI DMA transfers to 32 bits */ | 1451 | /* check if we can restrict PCI DMA transfers to 32 bits */ |
1452 | if (pci_set_dma_mask(pci, DMA_32BIT_MASK) < 0) { | 1452 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(32)) < 0) { |
1453 | snd_printk(KERN_ERR "architecture does not support " | 1453 | snd_printk(KERN_ERR "architecture does not support " |
1454 | "32bit PCI busmaster DMA\n"); | 1454 | "32bit PCI busmaster DMA\n"); |
1455 | pci_disable_device(pci); | 1455 | pci_disable_device(pci); |
diff --git a/sound/pci/sis7019.c b/sound/pci/sis7019.c index baf6d8e3dabc..1a5ff0611072 100644 --- a/sound/pci/sis7019.c +++ b/sound/pci/sis7019.c | |||
@@ -1300,7 +1300,7 @@ static int __devinit sis_chip_create(struct snd_card *card, | |||
1300 | if (rc) | 1300 | if (rc) |
1301 | goto error_out; | 1301 | goto error_out; |
1302 | 1302 | ||
1303 | if (pci_set_dma_mask(pci, DMA_30BIT_MASK) < 0) { | 1303 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(30)) < 0) { |
1304 | printk(KERN_ERR "sis7019: architecture does not support " | 1304 | printk(KERN_ERR "sis7019: architecture does not support " |
1305 | "30-bit PCI busmaster DMA"); | 1305 | "30-bit PCI busmaster DMA"); |
1306 | goto error_out_enabled; | 1306 | goto error_out_enabled; |
diff --git a/sound/pci/sonicvibes.c b/sound/pci/sonicvibes.c index d989215f3556..7dc60ad4772e 100644 --- a/sound/pci/sonicvibes.c +++ b/sound/pci/sonicvibes.c | |||
@@ -1264,8 +1264,8 @@ static int __devinit snd_sonicvibes_create(struct snd_card *card, | |||
1264 | if ((err = pci_enable_device(pci)) < 0) | 1264 | if ((err = pci_enable_device(pci)) < 0) |
1265 | return err; | 1265 | return err; |
1266 | /* check, if we can restrict PCI DMA transfers to 24 bits */ | 1266 | /* check, if we can restrict PCI DMA transfers to 24 bits */ |
1267 | if (pci_set_dma_mask(pci, DMA_24BIT_MASK) < 0 || | 1267 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(24)) < 0 || |
1268 | pci_set_consistent_dma_mask(pci, DMA_24BIT_MASK) < 0) { | 1268 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(24)) < 0) { |
1269 | snd_printk(KERN_ERR "architecture does not support 24bit PCI busmaster DMA\n"); | 1269 | snd_printk(KERN_ERR "architecture does not support 24bit PCI busmaster DMA\n"); |
1270 | pci_disable_device(pci); | 1270 | pci_disable_device(pci); |
1271 | return -ENXIO; | 1271 | return -ENXIO; |
diff --git a/sound/pci/trident/trident_main.c b/sound/pci/trident/trident_main.c index a9da9c184660..6d943f6f6b70 100644 --- a/sound/pci/trident/trident_main.c +++ b/sound/pci/trident/trident_main.c | |||
@@ -3559,8 +3559,8 @@ int __devinit snd_trident_create(struct snd_card *card, | |||
3559 | if ((err = pci_enable_device(pci)) < 0) | 3559 | if ((err = pci_enable_device(pci)) < 0) |
3560 | return err; | 3560 | return err; |
3561 | /* check, if we can restrict PCI DMA transfers to 30 bits */ | 3561 | /* check, if we can restrict PCI DMA transfers to 30 bits */ |
3562 | if (pci_set_dma_mask(pci, DMA_30BIT_MASK) < 0 || | 3562 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(30)) < 0 || |
3563 | pci_set_consistent_dma_mask(pci, DMA_30BIT_MASK) < 0) { | 3563 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(30)) < 0) { |
3564 | snd_printk(KERN_ERR "architecture does not support 30bit PCI busmaster DMA\n"); | 3564 | snd_printk(KERN_ERR "architecture does not support 30bit PCI busmaster DMA\n"); |
3565 | pci_disable_device(pci); | 3565 | pci_disable_device(pci); |
3566 | return -ENXIO; | 3566 | return -ENXIO; |