]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: dwc3: ep0: add handling for unaligned OUT transfers
authorFelipe Balbi <balbi@ti.com>
Sat, 27 Aug 2011 19:18:09 +0000 (22:18 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Sep 2011 10:02:05 +0000 (13:02 +0300)
commita6829706ce0bae7e4623ea987a639d91a721eee2
tree094bcdbe1c8588c85d45cadfec91782f884614c6
parent5812b1c236774ea580b6af39411eb4f7297d7623
usb: dwc3: ep0: add handling for unaligned OUT transfers

In case we have transfers which aren't aligned
to wMaxPacketSize, we need to be careful with
how we start the transfer with the HW. OUT
transfers _must_ be aligned with wMaxPacketSize
and in order to guarantee that, we use a bounce
buffer.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/ep0.c