]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/usb/host/ohci-hub.c
USB: OHCI: add I/O watchdog for orphan TDs
[karo-tx-linux.git] / drivers / usb / host / ohci-hub.c
index 8991692bcfb8bef6c311d366b38d144bf4298a0c..17d32b0ea56583aae9d7a77a87ed0d54f82d932d 100644 (file)
@@ -309,6 +309,9 @@ static int ohci_bus_suspend (struct usb_hcd *hcd)
        else
                rc = ohci_rh_suspend (ohci, 0);
        spin_unlock_irq (&ohci->lock);
+
+       if (rc == 0)
+               del_timer_sync(&ohci->io_watchdog);
        return rc;
 }