replace msleep(20) with usleep_range(19000, 21000)
as msleep is causing more than 65ms sometimes during LP0 exit
Bug
200163241
Change-Id: I18bb0cca9bb5a7849676c913bf9cb30961f7645e
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/
1019784
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
* set AUX_TX_RDET_STATUS bit. This would bring link up checking
* time from its current value (around 200ms) to flat 20ms
*/
- msleep(20);
+ usleep_range(19000, 21000);
list_for_each_entry_safe(port, tmp, &pcie->ports, list) {
if (tegra_pcie_port_check_link(port)) {
port->status = 1;