diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2016-04-08 16:25:07 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-13 11:55:56 -0700 |
commit | 0a380be8233dbf8dd20795b801c5d5d5ef3992f7 (patch) | |
tree | 0edc63ecfcd9cf37d0661298e46e8c4a08e0ca78 /drivers/power/twl4030_madc_battery.c | |
parent | 671ffdff5b13314b1fc65d62cf7604b873fb5dc4 (diff) | |
download | blackbird-op-linux-0a380be8233dbf8dd20795b801c5d5d5ef3992f7.tar.gz blackbird-op-linux-0a380be8233dbf8dd20795b801c5d5d5ef3992f7.zip |
usb: host: xhci: add a new quirk XHCI_NO_64BIT_SUPPORT
On some xHCI controllers (e.g. R-Car SoCs), the AC64 bit (bit 0) of
HCCPARAMS1 is set to 1. However, the xHCs don't support 64-bit
address memory pointers actually. So, in this case, this driver should
call dma_set_coherent_mask(dev, DMA_BIT_MASK(32)) in xhci_gen_setup().
Otherwise, the xHCI controller will be died after a usb device is
connected if it runs on above 4GB physical memory environment.
So, this patch adds a new quirk XHCI_NO_64BIT_SUPPORT to resolve
such an issue.
Cc: <stable@vger.kernel.org>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/power/twl4030_madc_battery.c')
0 files changed, 0 insertions, 0 deletions