X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fusb%2Fhost%2Fehci-hub.c;fp=drivers%2Fusb%2Fhost%2Fehci-hub.c;h=69b0b9be7a641fbdd670bb19683e684b7fe45db0;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=d03e3cad5ca8a90a2cf7319a2f92891b481a1784;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c index d03e3cad5..69b0b9be7 100644 --- a/drivers/usb/host/ehci-hub.c +++ b/drivers/usb/host/ehci-hub.c @@ -359,8 +359,6 @@ static int ehci_hub_control ( case USB_PORT_FEAT_SUSPEND: if (temp & PORT_RESET) goto error; - if (ehci->no_selective_suspend) - break; if (temp & PORT_SUSPEND) { if ((temp & PORT_PE) == 0) goto error; @@ -516,8 +514,6 @@ static int ehci_hub_control ( temp &= ~PORT_RWC_BITS; switch (wValue) { case USB_PORT_FEAT_SUSPEND: - if (ehci->no_selective_suspend) - break; if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) != 0) goto error;