diff options
Diffstat (limited to 'drivers/usb/host/ehci-q.c')
-rw-r--r-- | drivers/usb/host/ehci-q.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-q.c b/drivers/usb/host/ehci-q.c index 794d27e07807..b10f39c047e9 100644 --- a/drivers/usb/host/ehci-q.c +++ b/drivers/usb/host/ehci-q.c | |||
@@ -256,8 +256,7 @@ __acquires(ehci->lock) | |||
256 | /* complete() can reenter this HCD */ | 256 | /* complete() can reenter this HCD */ |
257 | usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); | 257 | usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); |
258 | spin_unlock (&ehci->lock); | 258 | spin_unlock (&ehci->lock); |
259 | urb->status = status; | 259 | usb_hcd_giveback_urb(ehci_to_hcd(ehci), urb, status); |
260 | usb_hcd_giveback_urb (ehci_to_hcd(ehci), urb); | ||
261 | spin_lock (&ehci->lock); | 260 | spin_lock (&ehci->lock); |
262 | } | 261 | } |
263 | 262 | ||