diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 5e909e0da04b..643f0e499292 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -2210,9 +2210,17 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci, | |||
2210 | gcap = azx_readw(chip, GCAP); | 2210 | gcap = azx_readw(chip, GCAP); |
2211 | snd_printdd("chipset global capabilities = 0x%x\n", gcap); | 2211 | snd_printdd("chipset global capabilities = 0x%x\n", gcap); |
2212 | 2212 | ||
2213 | /* ATI chips seems buggy about 64bit DMA addresses */ | ||
2214 | if (chip->driver_type == AZX_DRIVER_ATI) | ||
2215 | gcap &= ~0x01; | ||
2216 | |||
2213 | /* allow 64bit DMA address if supported by H/W */ | 2217 | /* allow 64bit DMA address if supported by H/W */ |
2214 | if ((gcap & 0x01) && !pci_set_dma_mask(pci, DMA_64BIT_MASK)) | 2218 | if ((gcap & 0x01) && !pci_set_dma_mask(pci, DMA_64BIT_MASK)) |
2215 | pci_set_consistent_dma_mask(pci, DMA_64BIT_MASK); | 2219 | pci_set_consistent_dma_mask(pci, DMA_64BIT_MASK); |
2220 | else { | ||
2221 | pci_set_dma_mask(pci, DMA_32BIT_MASK); | ||
2222 | pci_set_consistent_dma_mask(pci, DMA_32BIT_MASK); | ||
2223 | } | ||
2216 | 2224 | ||
2217 | /* read number of streams from GCAP register instead of using | 2225 | /* read number of streams from GCAP register instead of using |
2218 | * hardcoded value | 2226 | * hardcoded value |