summaryrefslogtreecommitdiffstats
path: root/0001-ARM-tegra-usb-no-reset.patch
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2020-06-29 20:59:56 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2020-06-29 20:59:56 +0200
commit7b32641801900ee7e32065b436d7318c5d7a972e (patch)
tree7e1f1ffca46787c5ba55af0a2fc9767f9c6e5594 /0001-ARM-tegra-usb-no-reset.patch
parent506260a3258dfcbd81c9c8b2f051b9c515ad6071 (diff)
parent61b5e2fd06a4be7134afb1cd363002e015123f7f (diff)
downloadkernel-7b32641801900ee7e32065b436d7318c5d7a972e.tar.gz
kernel-7b32641801900ee7e32065b436d7318c5d7a972e.tar.xz
kernel-7b32641801900ee7e32065b436d7318c5d7a972e.zip
Diffstat (limited to '0001-ARM-tegra-usb-no-reset.patch')
-rw-r--r--0001-ARM-tegra-usb-no-reset.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/0001-ARM-tegra-usb-no-reset.patch b/0001-ARM-tegra-usb-no-reset.patch
index 21ebad41e..4d1033bf3 100644
--- a/0001-ARM-tegra-usb-no-reset.patch
+++ b/0001-ARM-tegra-usb-no-reset.patch
@@ -16,7 +16,7 @@ index b1e14beaac5f..b28779779058 100644
@@ -5517,6 +5517,13 @@ static void hub_event(struct work_struct *work)
(u16) hub->change_bits[0],
(u16) hub->event_bits[0]);
-
+
+ /* Don't disconnect USB-SATA on TrimSlice */
+ if (strcmp(dev_name(hdev->bus->controller), "tegra-ehci.0") == 0) {
+ if ((hdev->state == 7) && (hub->change_bits[0] == 0) &&
@@ -28,5 +28,5 @@ index b1e14beaac5f..b28779779058 100644
* disconnected while waiting for the lock to succeed. */
usb_lock_device(hdev);
--
-2.26.2
+2.25.4