diff options
Diffstat (limited to 'drivers/usb/musb/musb_host.c')
-rw-r--r-- | drivers/usb/musb/musb_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c index d385e8a8187d..3df6a76b851d 100644 --- a/drivers/usb/musb/musb_host.c +++ b/drivers/usb/musb/musb_host.c | |||
@@ -2177,7 +2177,7 @@ static int musb_urb_enqueue( | |||
2177 | * we only have work to do in the former case. | 2177 | * we only have work to do in the former case. |
2178 | */ | 2178 | */ |
2179 | spin_lock_irqsave(&musb->lock, flags); | 2179 | spin_lock_irqsave(&musb->lock, flags); |
2180 | if (hep->hcpriv) { | 2180 | if (hep->hcpriv || !next_urb(qh)) { |
2181 | /* some concurrent activity submitted another urb to hep... | 2181 | /* some concurrent activity submitted another urb to hep... |
2182 | * odd, rare, error prone, but legal. | 2182 | * odd, rare, error prone, but legal. |
2183 | */ | 2183 | */ |