usb: Add connected retry on resume for non SS devices
authorAl Cooper <alcooperx@gmail.com>
Wed, 2 Dec 2015 19:55:07 +0000 (14:55 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Dec 2015 16:25:58 +0000 (08:25 -0800)
commit6b82b1223e3b14afd89d167795671a9f4f77b2f0
treef0b0d08a8fc8168e13ebaad88d5d1bc5a162e1fa
parent498378d9d2c12d97318028f1a648d98ee7568430
usb: Add connected retry on resume for non SS devices

Currently usb_port_resume waits for up to 2 seconds for CONNECT
status for SS devices only. This change will do the same thing for
non-SS devices even though the reason is a little different. This
will fix an issue where VBUS is turned off during system wide
"suspend to ram" and some 2.0 devices take greater than the current
max of 100ms to show connected after VBUS is enabled. This is most
commonly seen on hard drive based devices and USB3.0 devices plugged
into a 2.0 only port.

Signed-off-by: Al Cooper <alcooperx@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c
This page took 0.024566 seconds and 5 git commands to generate.