usb: dwc3: ep0: increment "actual" on bounced ep0 case
authorFelipe Balbi <balbi@ti.com>
Wed, 21 Mar 2012 09:44:00 +0000 (11:44 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 11 May 2012 12:14:15 +0000 (13:14 +0100)
commit0ae5d66e40cde5a95ed16d28a480d2ce91834bfc
treed52d316e7e656515338e42c3499b5e7c72b33d03
parent4d0892e26975d5664bdf127646f8d3988c99e98e
usb: dwc3: ep0: increment "actual" on bounced ep0 case

commit cd423dd3634a5232a3019eb372b144619a61cd16 upstream.

due to a HW limitation we have a bounce buffer for ep0
out transfers which are not aligned with MaxPacketSize.

On such case we were not increment r->actual as we should.

This patch fixes that mistake.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/dwc3/ep0.c