projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3328e4
)
usb: host: tegra: Fix SetPortFeature PORT_SUSPEND
author
Benoit Goby
<benoit@android.com>
Wed, 19 Jan 2011 03:38:23 +0000
(19:38 -0800)
committer
Benoit Goby
<benoit@android.com>
Wed, 19 Jan 2011 03:40:17 +0000
(19:40 -0800)
This fixes a regression where hubs cannot detect new devices once they
have been auto-suspended.
Change-Id: I4b3efcaa9634b9a912060e438527000bbc83dc32
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/host/ehci-tegra.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ehci-tegra.c
b/drivers/usb/host/ehci-tegra.c
index db61c60ffbab72115a2e1308c9a60d0e7e7cda33..f781b02e53f0afef8333bd3d1a8e22feefd9e3ad 100644
(file)
--- a/
drivers/usb/host/ehci-tegra.c
+++ b/
drivers/usb/host/ehci-tegra.c
@@
-129,6
+129,7
@@
static int tegra_ehci_hub_control(
if (handshake(ehci, status_reg, PORT_SUSPEND,
PORT_SUSPEND, 5000))
pr_err("%s: timeout waiting for PORT_SUSPEND\n", __func__);
+ set_bit((wIndex & 0xff) - 1, &ehci->suspended_ports);
goto done;
}