Files
linux/drivers
Dominik Bozek f17d397bfe usb: hub: Don't wait for connect state at resume for powered-off ports
[ Upstream commit 5d111f5190 ]

wait_for_connected() wait till a port change status to
USB_PORT_STAT_CONNECTION, but this is not possible if
the port is unpowered. The loop will only exit at timeout.

Such case take place if an over-current incident happen
while system is in S3. Then during resume wait_for_connected()
will wait 2s, which may be noticeable by the user.

Signed-off-by: Dominik Bozek <dominikx.bozek@intel.com>
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-03 07:50:40 +02:00
..
2018-08-03 07:50:35 +02:00
2018-07-22 14:28:43 +02:00
2018-07-03 11:24:56 +02:00
2018-06-16 09:45:14 +02:00
2018-06-11 22:49:19 +02:00
2018-01-17 09:45:27 +01:00
2018-08-03 07:50:38 +02:00
2018-07-25 11:25:10 +02:00