]> err.no Git - linux-2.6/blobdiff - drivers/usb/host/ehci-hub.c
Automatic merge of /spare/repo/netdev-2.6 branch skge
[linux-2.6] / drivers / usb / host / ehci-hub.c
index 2373537fabed3eeaa7083c9d9b4577292287acd1..429330bc38de08f35b198a74d0fb190121bbc03c 100644 (file)
@@ -72,6 +72,7 @@ static int ehci_hub_suspend (struct usb_hcd *hcd)
        }
 
        /* turn off now-idle HC */
+       del_timer_sync (&ehci->watchdog);
        ehci_halt (ehci);
        hcd->state = HC_STATE_SUSPENDED;
 
@@ -281,6 +282,8 @@ ehci_hub_descriptor (
        temp = 0x0008;                  /* per-port overcurrent reporting */
        if (HCS_PPC (ehci->hcs_params))
                temp |= 0x0001;         /* per-port power control */
+       else
+               temp |= 0x0002;         /* no power switching */
 #if 0
 // re-enable when we support USB_PORT_FEAT_INDICATOR below.
        if (HCS_INDICATOR (ehci->hcs_params))