diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-03-09 15:39:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-09 18:00:39 +0100 |
commit | dcc7620cad5ad1326a78f4031a7bf4f0e5b42984 (patch) | |
tree | 2df3549d223e96a823c40dea085f1beea9902d3e /drivers/usb/gadget/legacy/inode.c | |
parent | f95e60a7dbecd2de816bb3ad517b3d4fbc20b507 (diff) | |
download | linux-dcc7620cad5ad1326a78f4031a7bf4f0e5b42984.tar.gz linux-dcc7620cad5ad1326a78f4031a7bf4f0e5b42984.tar.bz2 linux-dcc7620cad5ad1326a78f4031a7bf4f0e5b42984.zip |
usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
Upstream commit 98d74f9ceaef ("xhci: fix 10 second timeout on removal of
PCI hotpluggable xhci controllers") fixes a problem with hot pluggable PCI
xhci controllers which can result in excessive timeouts, to the point where
the system reports a deadlock.
The same problem is seen with hot pluggable xhci controllers using the
xhci-plat driver, such as the driver used for Type-C ports on rk3399.
Similar to hot-pluggable PCI controllers, the driver for this chip
removes the xhci controller from the system when the Type-C cable is
disconnected.
The solution for PCI devices works just as well for non-PCI devices
and avoids the problem.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/legacy/inode.c')
0 files changed, 0 insertions, 0 deletions