From: Jaroslav Kysela Date: Wed, 9 Dec 2009 09:44:47 +0000 (+0100) Subject: ALSA: hda - Terradici HDA controllers does not support 64-bit mode X-Git-Tag: v2.6.33-rc2~15^2~5^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=396087eaead95fcb29eb36f1e59517aeb58c545e;p=profile%2Fcommon%2Fkernel-common.git ALSA: hda - Terradici HDA controllers does not support 64-bit mode Confirmed from vendor and tests in RedHat bugzilla #536782 . Signed-off-by: Jaroslav Kysela Cc: Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index d822bfc..efcc4f7 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -2450,6 +2450,11 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci, } } + /* disable 64bit DMA address for Teradici */ + /* it does not work with device 6549:1200 subsys e4a2:040b */ + if (chip->driver_type == AZX_DRIVER_TERA) + gcap &= ~ICH6_GCAP_64OK; + /* allow 64bit DMA address if supported by H/W */ if ((gcap & ICH6_GCAP_64OK) && !pci_set_dma_mask(pci, DMA_BIT_MASK(64))) pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(64));