diff options
-rw-r--r-- | drivers/usb/musb/musb_gadget.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index de0ca90ceb9b..f206c94b8b1c 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c | |||
@@ -504,18 +504,6 @@ void musb_g_tx(struct musb *musb, u8 epnum) | |||
504 | /* ... or if not, then complete it. */ | 504 | /* ... or if not, then complete it. */ |
505 | musb_g_giveback(musb_ep, request, 0); | 505 | musb_g_giveback(musb_ep, request, 0); |
506 | 506 | ||
507 | /* | ||
508 | * Kickstart next transfer if appropriate; | ||
509 | * the packet that just completed might not | ||
510 | * be transmitted for hours or days. | ||
511 | * REVISIT for double buffering... | ||
512 | * FIXME revisit for stalls too... | ||
513 | */ | ||
514 | musb_ep_select(mbase, epnum); | ||
515 | csr = musb_readw(epio, MUSB_TXCSR); | ||
516 | if (csr & MUSB_TXCSR_FIFONOTEMPTY) | ||
517 | return; | ||
518 | |||
519 | request = musb_ep->desc ? next_request(musb_ep) : NULL; | 507 | request = musb_ep->desc ? next_request(musb_ep) : NULL; |
520 | if (!request) { | 508 | if (!request) { |
521 | DBG(4, "%s idle now\n", | 509 | DBG(4, "%s idle now\n", |