From: Paul Zimmerman Date: Tue, 16 Sep 2014 20:47:26 +0000 (-0700) Subject: usb: dwc2: clip max_transfer_size to 65535 X-Git-Tag: fixes-for-v3.18-merge-window~16^2~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8f8c14d9da7ab1b8a7b0f769cd7148ca2cc7d10;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed