Skip to content
Commit fda182d8 authored by Duc Dang's avatar Duc Dang Committed by Greg Kroah-Hartman
Browse files

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: default avatarDuc Dang <dhdang@apm.com>
Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 579085b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment