From: Andreas Larsson Date: Mon, 15 Sep 2014 10:32:54 +0000 (+0200) Subject: usb: gadget: gr_udc: Add bounce buffer to handle odd sized OUT requests X-Git-Tag: fixes-for-v3.18-merge-window~16^2~118^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b484989a998074762281a1ae71b2d88f26f66d6;p=pandora-kernel.git usb: gadget: gr_udc: Add bounce buffer to handle odd sized OUT requests This adds a bounce buffer that handles the end of OUT requests where req.length is not divisible by ep->ep.maxpacket. Before this, such requests were rejected as the DMA engine cannot restrict itself to buffers that are smaller than ep->ep.maxpacket. Signed-off-by: Andreas Larsson Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed