From ba487c7c5e987d6ee9487041bd09a8686f32f730 Mon Sep 17 00:00:00 2001 From: Benoit Goby Date: Tue, 18 Jan 2011 19:38:23 -0800 Subject: [PATCH] usb: host: tegra: Fix SetPortFeature PORT_SUSPEND This fixes a regression where hubs cannot detect new devices once they have been auto-suspended. Change-Id: I4b3efcaa9634b9a912060e438527000bbc83dc32 Signed-off-by: Benoit Goby --- drivers/usb/host/ehci-tegra.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index db61c60ffbab..f781b02e53f0 100644 --- 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; } -- 2.34.1