summaryrefslogtreecommitdiff
path: root/drivers/char/i8k.c
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2013-11-07 10:59:14 -0800
committerBen Hutchings <ben@decadent.org.uk>2014-01-03 04:33:29 +0000
commit871d7214744f86b8edcc7b7d5dc7d4ff1f26d7bd (patch)
tree3a759a927a712381e9e22e060394c76b28c72ce1 /drivers/char/i8k.c
parent87da9b02a3e94abb76c1da4305252cfaa6e960f1 (diff)
usb: hub: Use correct reset for wedged USB3 devices that are NOTATTACHED
commit 2d51f3cd11f414c56a87dc018196b85fd50b04a4 upstream. This patch adds a check for USB_STATE_NOTATTACHED to the hub_port_warm_reset_required() workaround for ports that end up in Compliance Mode in hub_events() when trying to decide which reset function to use. Trying to call usb_reset_device() with a NOTATTACHED device will just fail and leave the port broken. Signed-off-by: Julius Werner <jwerner@chromium.org> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/char/i8k.c')
0 files changed, 0 insertions, 0 deletions