diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 3f8933f10e7dc569c7235b1daa0a642a8cb3974e..d3a1d79d663dd30f51fe28047b7432d544fa70fb 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -5090,6 +5090,12 @@ static int usb_reset_and_verify_device(struct usb_device *udev) } parent_hub = usb_hub_to_struct_hub(parent_hdev); + /* Disable USB2 hardware LPM. + * It will be re-enabled by the enumeration process. + */ + if (udev->usb2_hw_lpm_enabled == 1) + usb_set_usb2_hardware_lpm(udev, 0); + bos = udev->bos; udev->bos = NULL;