From: Felipe Balbi Date: Fri, 26 Aug 2011 23:30:33 +0000 (+0300) Subject: usb: dwc3: ep0: fix 'transfered' typo X-Git-Tag: MMI-PSA29.97-13-9~18248^2~148^2~40 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c611ccb48ac9b95e35741b43d018a2f6ed74c0e6;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git usb: dwc3: ep0: fix 'transfered' typo trivial patch. No functional changes. Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c index 4698fe013769..a6fc5c316743 100644 --- a/drivers/usb/dwc3/ep0.c +++ b/drivers/usb/dwc3/ep0.c @@ -639,7 +639,7 @@ static void dwc3_ep0_complete_data(struct dwc3 *dwc, struct usb_request *ur; struct dwc3_trb trb; struct dwc3_ep *dep; - u32 transfered; + u32 transferred; u8 epnum; epnum = event->endpoint_number; @@ -655,8 +655,8 @@ static void dwc3_ep0_complete_data(struct dwc3 *dwc, dwc3_trb_to_nat(dwc->ep0_trb, &trb); - transfered = ur->length - trb.length; - ur->actual += transfered; + transferred = ur->length - trb.length; + ur->actual += transferred; if ((epnum & 1) && ur->actual < ur->length) { /* for some reason we did not get everything out */