diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-06-29 17:27:55 +0200 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-06-29 17:28:50 +0200 |
commit | 01e1c5521b2c1c4074cd83cd4e4c4604309ce518 (patch) | |
tree | 785c395f42dcd8cb13db2a49263980b26e85ff8c /0001-ARM-tegra-usb-no-reset.patch | |
parent | c1ca5fbfa21dd0253db964da7bd89733fcf2bfe3 (diff) | |
parent | 0a70f564a052c491b12770d1218a2d8dd8b71924 (diff) | |
download | kernel-01e1c5521b2c1c4074cd83cd4e4c4604309ce518.tar.gz kernel-01e1c5521b2c1c4074cd83cd4e4c4604309ce518.tar.xz kernel-01e1c5521b2c1c4074cd83cd4e4c4604309ce518.zip |
merge origin, 5.7 rebasekernel-5.7.6-251.vanilla.knurd.1.fc32
Diffstat (limited to '0001-ARM-tegra-usb-no-reset.patch')
-rw-r--r-- | 0001-ARM-tegra-usb-no-reset.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/0001-ARM-tegra-usb-no-reset.patch b/0001-ARM-tegra-usb-no-reset.patch new file mode 100644 index 000000000..f91c6b83e --- /dev/null +++ b/0001-ARM-tegra-usb-no-reset.patch @@ -0,0 +1,32 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Peter Robinson <pbrobinson@gmail.com> +Date: Thu, 3 May 2012 20:27:11 +0100 +Subject: [PATCH] ARM: tegra: usb no reset + +Patch for disconnect issues with storage attached to a + tegra-ehci controller +--- + drivers/usb/core/hub.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c +index fc748c731832..7d35e12de70f 100644 +--- a/drivers/usb/core/hub.c ++++ b/drivers/usb/core/hub.c +@@ -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) && ++ (hub->event_bits[0] == 0x2)) ++ hub->event_bits[0] = 0; ++ } ++ + /* Lock the device, then check to see if we were + * disconnected while waiting for the lock to succeed. */ + usb_lock_device(hdev); +-- +2.26.2 + |