]> git.baikalelectronics.ru Git - kernel.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)
commit486a2c59645f45bf1804af65fd598fdb09669544
tree094bcdbe1c8588c85d45cadfec91782f884614c6
parent1ecfa00025204262d9b0ab6dfb555d4a209564b9
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