ALSA: hda - Disable 64bit address for Creative HDA controllers
authorTakashi Iwai <tiwai@suse.de>
Tue, 27 Oct 2015 13:21:51 +0000 (14:21 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 27 Nov 2015 12:48:22 +0000 (12:48 +0000)
commitf3b2d51d915e6c3539595208955145f90fbc2931
tree9a54bb2795d042239840514261cbc0aeb676839a
parent3ce1b9beb44fb0f7cc06ca86bf316071d43b7384
ALSA: hda - Disable 64bit address for Creative HDA controllers

commit cadd16ea33a938d49aee99edd4758cc76048b399 upstream.

We've had many reports that some Creative sound cards with CA0132
don't work well.  Some reported that it starts working after reloading
the module, while some reported it starts working when a 32bit kernel
is used.  All these facts seem implying that the chip fails to
communicate when the buffer is located in 64bit address.

This patch addresses these issues by just adding AZX_DCAPS_NO_64BIT
flag to the corresponding PCI entries.  I casually had a chance to
test an SB Recon3D board, and indeed this seems helping.

Although this hasn't been tested on all Creative devices, it's safer
to assume that this restriction applies to the rest of them, too.  So
the flag is applied to all Creative entries.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
[bwh: Backported to 3.2: drop the change to AZX_DCAPS_PRESET_CTHDA]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/pci/hda/hda_intel.c