|
@@ -2049,7 +2049,7 @@ static int musb_urb_enqueue(
|
|
* we only have work to do in the former case.
|
|
* we only have work to do in the former case.
|
|
*/
|
|
*/
|
|
spin_lock_irqsave(&musb->lock, flags);
|
|
spin_lock_irqsave(&musb->lock, flags);
|
|
- if (hep->hcpriv) {
|
|
|
|
|
|
+ if (hep->hcpriv || !next_urb(qh)) {
|
|
/* some concurrent activity submitted another urb to hep...
|
|
/* some concurrent activity submitted another urb to hep...
|
|
* odd, rare, error prone, but legal.
|
|
* odd, rare, error prone, but legal.
|
|
*/
|
|
*/
|