xhci-tegra: t210: wait for U3 entry in bus suspend
authorHenry Lin <henryl@nvidia.com>
Sun, 14 Aug 2016 17:17:11 +0000 (01:17 +0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 31 Aug 2016 10:18:29 +0000 (03:18 -0700)
commite105f5e3f2138659e1000ab26c183b2238b8951c
tree906a2393d8acdb184b62bd8a972b14a3035bc6f1
parent2cef16d0e3fba62c546aeae7d9af946feca7c2e3
xhci-tegra: t210: wait for U3 entry in bus suspend

In T210, U3 entry delay is expected as LFPS dectector WAR needs to
use two mailbox commands to implement. The two mailbox commands can be
finished among 2 ms most of time. But, in worst case, they may
take up to hundreds of ms. Waiting for U3 entry in bus suspend
for some time can avoid xhci-tegra driver to stop system suspend
for long U3 entry delay frequently.

Bug 200227198

Change-Id: I989e60e829d8bd9b085495d96f70580c6d7981ab
Signed-off-by: Henry Lin <henryl@nvidia.com>
Reviewed-on: http://git-master/r/1202447
(cherry picked from commit 1659d51b9ee211161af1653aef4f84cdad013aef)
Reviewed-on: http://git-master/r/1209494
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: ChihMin Cheng <ccheng@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
drivers/usb/host/xhci-tegra.c