diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2016-11-17 10:14:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-17 16:29:47 +0100 |
commit | 37be66767e3cae4fd16e064d8bb7f9f72bf5c045 (patch) | |
tree | df1da477203527f0139ab3936cd4888a07f6f662 /arch/arm64/boot/dts/rockchip/rk3368.dtsi | |
parent | usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL (diff) | |
download | linux-37be66767e3cae4fd16e064d8bb7f9f72bf5c045.tar.xz linux-37be66767e3cae4fd16e064d8bb7f9f72bf5c045.zip |
usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
USB-3 does not have any link state that will avoid negotiating a connection
with a plugged-in cable but will signal the host when the cable is
unplugged.
For USB-3 we used to first set the link to Disabled, then to RxDdetect to
be able to detect cable connects or disconnects. But in RxDetect the
connected device is detected again and eventually enabled.
Instead set the link into U3 and disable remote wakeups for the device.
This is what Windows does, and what Alan Stern suggested.
Cc: stable@vger.kernel.org
Cc: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3368.dtsi')
0 files changed, 0 insertions, 0 deletions