]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ALSA: ctxfi: Fallback DMA mask to 32bit
authorTakashi Iwai <tiwai@suse.de>
Tue, 28 Feb 2017 16:16:48 +0000 (17:16 +0100)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 13 Mar 2017 21:20:54 +0000 (15:20 -0600)
commit8f770ca8e0c874bd572ec8b938b5314d6b3f0253
treec6556c84c1c626ad999c8cde469b0b5e2cc94f33
parentf9091d071837b8e390c3ff1d487780048133f15d
ALSA: ctxfi: Fallback DMA mask to 32bit

BugLink: http://bugs.launchpad.net/bugs/1672544
commit 15c75b09f8d190f89ab4db463b87d411ca349dfe upstream.

Currently ctxfi driver tries to set only the 64bit DMA mask on 64bit
architectures, and bails out if it fails.  This causes a problem on
some platforms since the 64bit DMA isn't always guaranteed.  We should
fall back to the default 32bit DMA when 64bit DMA fails.

Fixes: 6d74b86d3c0f ("ALSA: ctxfi - Allow 64bit DMA")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
sound/pci/ctxfi/cthw20k1.c
sound/pci/ctxfi/cthw20k2.c