]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: xhci: configure 32-bit DMA if the controller does not support 64-bit DMA
authorDuc Dang <dhdang@apm.com>
Fri, 9 Oct 2015 10:30:13 +0000 (13:30 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 06:34:22 +0000 (23:34 -0700)
commitfda182d80a0bf362c3970d44ec188fa4f294729f
tree6169684562fb5eff4630a23ed0e17d925f8e28a7
parent579085b51c458fd4a5df9d5e19238f5e09bb114b
usb: xhci: configure 32-bit DMA if the controller does not support 64-bit DMA

This change avoids DMA error in the cases where dma_mask and
coherent_dma_mask of a 32-bit controller get configured as
DMA_BIT_MASK(64) when running on a 64-bit system.

Signed-off-by: Duc Dang <dhdang@apm.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci.c