usb: gadget: gr_udc: Add bounce buffer to handle odd sized OUT requests
authorAndreas Larsson <andreas@gaisler.com>
Mon, 15 Sep 2014 10:32:54 +0000 (12:32 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 16 Sep 2014 15:01:45 +0000 (10:01 -0500)
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 <andreas@gaisler.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found