aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/core/hub.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index ec6c97dadbe4..c8e0704c6e5d 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -2499,6 +2499,10 @@ int usb_port_suspend(struct usb_device *udev, pm_message_t msg)
2499 NULL, 0, 2499 NULL, 0,
2500 USB_CTRL_SET_TIMEOUT); 2500 USB_CTRL_SET_TIMEOUT);
2501 2501
2502 /* Try to enable USB2 hardware LPM again */
2503 if (udev->usb2_hw_lpm_capable == 1)
2504 usb_set_usb2_hardware_lpm(udev, 1);
2505
2502 /* System sleep transitions should never fail */ 2506 /* System sleep transitions should never fail */
2503 if (!PMSG_IS_AUTO(msg)) 2507 if (!PMSG_IS_AUTO(msg))
2504 status = 0; 2508 status = 0;