]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: ep0: Handle requests greater than wMaxPacketSize
authorMoiz Sonasath <m-sonasath@ti.com>
Wed, 14 Mar 2012 05:44:56 +0000 (00:44 -0500)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Apr 2012 09:21:43 +0000 (12:21 +0300)
commitc4261be2261c35576b421a8fea7d93f92deff95d
tree556b76d96c6061db261d064725866f965d52c6ca
parent647a823727067a1474622fc68d3e4a4c18d84850
usb: dwc3: ep0: Handle requests greater than wMaxPacketSize

To allow ep0 out transfers of upto bounce buffer size
instead of maxpacketsize, use the transfer size as multiple
of ep0 maxpacket size.

Cc: stable@vger.kernel.org
Signed-off-by: Moiz Sonasath <m-sonasath@ti.com>
Signed-off-by: Partha Basak <p-basak2@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/ep0.c