From: Kishon Vijay Abraham I Date: Mon, 27 Jul 2015 06:55:32 +0000 (+0530) Subject: usb: dwc3: ep0: handle non maxpacket aligned transfers > 512 X-Git-Tag: omap-for-v4.3/fixes-merge-window~42^2~35^2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0bd5456a470223e331a9e9e93b4a7425ecfaabb;p=pandora-kernel.git usb: dwc3: ep0: handle non maxpacket aligned transfers > 512 Use chained TRB mechanism to handle non maxpacket aligned transfers greater than bounce buffer size. With this the first TRB will be programmed to receive 'ALIGN(ur->length - maxp, maxp)' data and the second TRB will be programmed to receive the remaining data using bounce buffer. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed