[adm5120] switch to 2.6.24
[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.020995 seconds and 4 git commands to generate.