mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
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 <benoit@android.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user