]> git.baikalelectronics.ru Git - 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)
committerTakashi Iwai <tiwai@suse.de>
Tue, 28 Feb 2017 16:58:02 +0000 (17:58 +0100)
commit9744dc7abdf41119780c518e32e6e7db79a303a6
tree3b90b309806a1e53a341a0ef17be716a64944024
parent3635559782463e9576dce6827da75ca434590803
ALSA: ctxfi: Fallback DMA mask to 32bit

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: d6d2d5b7c82f ("ALSA: ctxfi - Allow 64bit DMA")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/cthw20k1.c
sound/pci/ctxfi/cthw20k2.c