diff options
Diffstat (limited to 'drivers/usb/host/u132-hcd.c')
-rw-r--r-- | drivers/usb/host/u132-hcd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c index 0a315200b331..32c635ecbf31 100644 --- a/drivers/usb/host/u132-hcd.c +++ b/drivers/usb/host/u132-hcd.c | |||
@@ -557,7 +557,7 @@ static void u132_hcd_giveback_urb(struct u132 *u132, struct u132_endp *endp, | |||
557 | u132_ring_queue_work(u132, ring, 0); | 557 | u132_ring_queue_work(u132, ring, 0); |
558 | up(&u132->scheduler_lock); | 558 | up(&u132->scheduler_lock); |
559 | u132_endp_put_kref(u132, endp); | 559 | u132_endp_put_kref(u132, endp); |
560 | usb_hcd_giveback_urb(hcd, urb, NULL); | 560 | usb_hcd_giveback_urb(hcd, urb); |
561 | return; | 561 | return; |
562 | } | 562 | } |
563 | 563 | ||
@@ -590,7 +590,7 @@ static void u132_hcd_abandon_urb(struct u132 *u132, struct u132_endp *endp, | |||
590 | endp->active = 0; | 590 | endp->active = 0; |
591 | spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); | 591 | spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); |
592 | kfree(urbq); | 592 | kfree(urbq); |
593 | } usb_hcd_giveback_urb(hcd, urb, NULL); | 593 | } usb_hcd_giveback_urb(hcd, urb); |
594 | return; | 594 | return; |
595 | } | 595 | } |
596 | 596 | ||
@@ -2434,7 +2434,7 @@ static int dequeue_from_overflow_chain(struct u132 *u132, | |||
2434 | endp->queue_size -= 1; | 2434 | endp->queue_size -= 1; |
2435 | urb->error_count = 0; | 2435 | urb->error_count = 0; |
2436 | urb->hcpriv = NULL; | 2436 | urb->hcpriv = NULL; |
2437 | usb_hcd_giveback_urb(hcd, urb, NULL); | 2437 | usb_hcd_giveback_urb(hcd, urb); |
2438 | return 0; | 2438 | return 0; |
2439 | } else | 2439 | } else |
2440 | continue; | 2440 | continue; |
@@ -2512,7 +2512,7 @@ static int u132_endp_urb_dequeue(struct u132 *u132, struct u132_endp *endp, | |||
2512 | kfree(urbq); | 2512 | kfree(urbq); |
2513 | } urb->error_count = 0; | 2513 | } urb->error_count = 0; |
2514 | urb->hcpriv = NULL; | 2514 | urb->hcpriv = NULL; |
2515 | usb_hcd_giveback_urb(hcd, urb, NULL); | 2515 | usb_hcd_giveback_urb(hcd, urb); |
2516 | return 0; | 2516 | return 0; |
2517 | } else if (list_empty(&endp->urb_more)) { | 2517 | } else if (list_empty(&endp->urb_more)) { |
2518 | dev_err(&u132->platform_dev->dev, "urb=%p not found in " | 2518 | dev_err(&u132->platform_dev->dev, "urb=%p not found in " |