From 2bf602318be97c09b774393ab2b618ce06670ed4 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 6 Feb 2008 15:05:57 +0100 Subject: [PATCH] --- yaml --- r: 92025 b: refs/heads/master c: cf7aaca8bae3a719db47ff6eca5f6f2f42eba05a h: refs/heads/master i: 92023: 13759fb3d47febfa9203a4a685914442aa465dad v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/hda_intel.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 33d7acb17b54..2b52b1220f7d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4ce107b990d994a0fccea9b1e885b08a0daea495 +refs/heads/master: cf7aaca8bae3a719db47ff6eca5f6f2f42eba05a diff --git a/trunk/sound/pci/hda/hda_intel.c b/trunk/sound/pci/hda/hda_intel.c index b38a5a70ff08..ec3ddda30beb 100644 --- a/trunk/sound/pci/hda/hda_intel.c +++ b/trunk/sound/pci/hda/hda_intel.c @@ -1843,6 +1843,10 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci, gcap = azx_readw(chip, GCAP); snd_printdd("chipset global capabilities = 0x%x\n", gcap); + /* allow 64bit DMA address if supported by H/W */ + if ((gcap & 0x01) && !pci_set_dma_mask(pci, DMA_64BIT_MASK)) + pci_set_consistent_dma_mask(pci, DMA_64BIT_MASK); + if (gcap) { /* read number of streams from GCAP register instead of using * hardcoded value