summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2019-02-01 13:52:31 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-06 12:09:12 +0100
commitfcc987e8792aba817060133a1ab867574749bacb (patch)
tree4b6334d86ce1d9194ae2fdcd506df566e11ba032 /init
parentb3ffb896a35600f2f67559ad61bc97faaca84b21 (diff)
usb: handle warm-reset port requests on hub resume
[ Upstream commit 4fdc1790e6a9ef22399c6bc6e63b80f4609f3b7e ] On plug-in of my USB-C device, its USB_SS_PORT_LS_SS_INACTIVE link state bit is set. Greping all the kernel for this bit shows that the port status requests a warm-reset this way. This just happens, if its the only device on the root hub, the hub therefore resumes and the HCDs status_urb isn't yet available. If a warm-reset request is detected, this sets the hubs event_bits, which will prevent any auto-suspend and allows the hubs workqueue to warm-reset the port later in port_event. Signed-off-by: Jan-Marek Glogowski <glogow@fbihome.de> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions