Message ID | 20210115161907.2875631-3-mathias.nyman@linux.intel.com (mailing list archive) |
---|---|
State | Superseded |
Commit | da7e0c3c2909a3d9bf8acfe1db3cb213bd7febfb |
Headers | show |
Series | xhci fixes for usb-linus | expand |
diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c index 934be1686352..50bb91b6a4b8 100644 --- a/drivers/usb/host/xhci-tegra.c +++ b/drivers/usb/host/xhci-tegra.c @@ -623,6 +623,13 @@ static void tegra_xusb_mbox_handle(struct tegra_xusb *tegra, enable); if (err < 0) break; + + /* + * wait 500us for LFPS detector to be disabled before + * sending ACK + */ + if (!enable) + usleep_range(500, 1000); } if (err < 0) {