25ms delay is added to make sure the resume
signalling to be driven during remote wake-up
on the USB lines for a minimum period of 25ms
10ms delay is added to stabilize the HSIC bus
bug
1451863
bug
1438066
Change-Id: If514bb0b31df54f1b219f2ebfc6a3ca5ea62e6a4
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/400932
(cherry picked from commit
0b28b90602d8cbcea8f3b3354524d443ab3d1872)
Reviewed-on: http://git-master/r/420335
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
writel(val, base + UHSIC_PADS_CFG1);
}
+ if (irq_disabled) {
+ local_irq_restore(flags);
+ mdelay(25);
+ local_irq_save(flags);
+ } else
+ mdelay(10);
+
pmc->pmc_ops->disable_pmc_bus_ctrl(pmc, 1);
phy->pmc_remote_wakeup = false;