|
@@ -1456,7 +1456,7 @@ static void hub_port_logical_disconnect(struct usb_hub *hub, int port1)
|
|
/* FIXME let caller ask to power down the port:
|
|
/* FIXME let caller ask to power down the port:
|
|
* - some devices won't enumerate without a VBUS power cycle
|
|
* - some devices won't enumerate without a VBUS power cycle
|
|
* - SRP saves power that way
|
|
* - SRP saves power that way
|
|
- * - usb_suspend_device(dev,PM_SUSPEND_DISK)
|
|
|
|
|
|
+ * - usb_suspend_device(dev, PMSG_SUSPEND)
|
|
* That's easy if this hub can switch power per-port, and
|
|
* That's easy if this hub can switch power per-port, and
|
|
* khubd reactivates the port later (timer, SRP, etc).
|
|
* khubd reactivates the port later (timer, SRP, etc).
|
|
* Powerdown must be optional, because of reset/DFU.
|
|
* Powerdown must be optional, because of reset/DFU.
|
|
@@ -1531,7 +1531,7 @@ static int hub_port_suspend(struct usb_hub *hub, int port1,
|
|
|
|
|
|
/*
|
|
/*
|
|
* Devices on USB hub ports have only one "suspend" state, corresponding
|
|
* Devices on USB hub ports have only one "suspend" state, corresponding
|
|
- * to ACPI D2 (PM_SUSPEND_MEM), "may cause the device to lose some context".
|
|
|
|
|
|
+ * to ACPI D2, "may cause the device to lose some context".
|
|
* State transitions include:
|
|
* State transitions include:
|
|
*
|
|
*
|
|
* - suspend, resume ... when the VBUS power link stays live
|
|
* - suspend, resume ... when the VBUS power link stays live
|