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)
commit566ccdda07dc5898272b6fbad9c616fc44be305a
tree556b76d96c6061db261d064725866f965d52c6ca
parent6d258a4c42089229b855fd706622029decf316d6
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