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>
Thu, 22 Mar 2012 08:19:48 +0000 (10:19 +0200)
commite706398da07b866319684ab4d1b56c9e1da62376
treecdc1feea440f53a95fc2cd65ce49f5e97da78150
parent5bea37e3b1bbf300d8e6fe6e59a0da2524039f25
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