diff options
Diffstat (limited to 'drivers/usb/host/sl811-hcd.c')
-rw-r--r-- | drivers/usb/host/sl811-hcd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index 515152809d37..94d859aa73f8 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c | |||
@@ -436,9 +436,8 @@ static void finish_request( | |||
436 | ep->nextpid = USB_PID_SETUP; | 436 | ep->nextpid = USB_PID_SETUP; |
437 | 437 | ||
438 | usb_hcd_unlink_urb_from_ep(sl811_to_hcd(sl811), urb); | 438 | usb_hcd_unlink_urb_from_ep(sl811_to_hcd(sl811), urb); |
439 | urb->status = status; | ||
440 | spin_unlock(&sl811->lock); | 439 | spin_unlock(&sl811->lock); |
441 | usb_hcd_giveback_urb(sl811_to_hcd(sl811), urb); | 440 | usb_hcd_giveback_urb(sl811_to_hcd(sl811), urb, status); |
442 | spin_lock(&sl811->lock); | 441 | spin_lock(&sl811->lock); |
443 | 442 | ||
444 | /* leave active endpoints in the schedule */ | 443 | /* leave active endpoints in the schedule */ |