msm: ipa3: Correct usleep_range
* Package version: msm-4.9-3141.tar.gz
* Estimated base tag: LA.UM.7.3.r1-06600-sdm845.0
Change-Id: Iaf7a4e6ea9eb5f5dd98a0e6bd221b80c19ffd9eb
diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa_uc.c b/drivers/platform/msm/ipa/ipa_v3/ipa_uc.c
index 89dde7d..d09334a 100644
--- a/drivers/platform/msm/ipa/ipa_v3/ipa_uc.c
+++ b/drivers/platform/msm/ipa/ipa_v3/ipa_uc.c
@@ -536,7 +536,7 @@ static int ipa3_uc_send_cmd_64b_param(u32 cmd_lo, u32 cmd_hi, u32 opcode,
udelay(IPA_UC_POLL_SLEEP_USEC);
else
usleep_range(IPA_UC_POLL_SLEEP_USEC,
- IPA_UC_POLL_SLEEP_USEC);
+ IPA_UC_POLL_SLEEP_USEC * 1.2);
}
if (index == IPA_UC_POLL_MAX_RETRY) {
diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa_uc_wdi.c b/drivers/platform/msm/ipa/ipa_v3/ipa_uc_wdi.c
index b94164b..fb6b495 100644
--- a/drivers/platform/msm/ipa/ipa_v3/ipa_uc_wdi.c
+++ b/drivers/platform/msm/ipa/ipa_v3/ipa_uc_wdi.c
@@ -1459,7 +1459,7 @@ int ipa3_disable_wdi_pipe(u32 clnt_hdl)
}
}
usleep_range(IPA_UC_POLL_SLEEP_USEC * IPA_UC_POLL_SLEEP_USEC,
- IPA_UC_POLL_SLEEP_USEC * IPA_UC_POLL_SLEEP_USEC);
+ IPA_UC_POLL_SLEEP_USEC * IPA_UC_POLL_SLEEP_USEC * 1.2);
}