(3/6) bcm57xx: preinit
[openwrt.git] / target / linux / adm5120 / files / drivers / usb / host / adm5120-pm.c
index ac7bf6c..c88e448 100644 (file)
@@ -383,9 +383,8 @@ static int admhc_restart(struct admhcd *ahcd)
                                        ed, ed->state);
                }
 
-               spin_lock(&urb->lock);
-               urb->status = -ESHUTDOWN;
-               spin_unlock(&urb->lock);
+               if (!urb->unlinked)
+                       urb->unlinked = -ESHUTDOWN;
        }
        finish_unlinks(ahcd, 0);
        spin_unlock_irq(&ahcd->lock);
This page took 0.028575 seconds and 4 git commands to generate.