aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/hcd_queue.c
diff options
context:
space:
mode:
authorPaul Zimmerman <[email protected]>2014-09-16 20:47:26 +0000
committerGreg Kroah-Hartman <[email protected]>2014-09-19 23:17:58 +0000
commite8f8c14d9da7ab1b8a7b0f769cd7148ca2cc7d10 (patch)
tree1f689fc9680a8059f83fd2be66c9541a700c4da5 /drivers/usb/dwc2/hcd_queue.c
parentusb: dwc2/gadget: disable clock when it's not needed (diff)
downloadkernel-e8f8c14d9da7ab1b8a7b0f769cd7148ca2cc7d10.tar.gz
kernel-e8f8c14d9da7ab1b8a7b0f769cd7148ca2cc7d10.zip
usb: dwc2: clip max_transfer_size to 65535
Clip max_transfer_size to 65535 for host. dwc2_hc_setup_align_buf() allocates coherent buffers with this size, and if it's too large we can exhaust the coherent DMA pool. Tested on Raspberry Pi and Altera SOCFPGA. Signed-off-by: Paul Zimmerman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/dwc2/hcd_queue.c')
0 files changed, 0 insertions, 0 deletions