From: Benoit Goby Date: Wed, 19 Jan 2011 03:38:23 +0000 (-0800) Subject: usb: host: tegra: Fix SetPortFeature PORT_SUSPEND X-Git-Tag: firefly_0821_release~9833^2~57^2 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ba487c7c5e987d6ee9487041bd09a8686f32f730;p=firefly-linux-kernel-4.4.55.git 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 --- 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; }