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)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Apr 2012 09:21:44 +0000 (12:21 +0300)
commitcd423dd3634a5232a3019eb372b144619a61cd16
tree88090e1f09769c38c875d037cccbfb99fa92d0de
parent566ccdda07dc5898272b6fbad9c616fc44be305a
usb: dwc3: ep0: increment "actual" on bounced ep0 case

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.

Cc: stable@vger.kernel.org
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/ep0.c