mdm2: Increase PSHOLD delay to 5ms to avoid 9x15 pmic-8018 lockup
PMIC-8018 is keeping 9x15 in reset when PSHOLD is de-asserted for 1ms
resulting in bootup failure. To avoid such boot up issues, increase
PSHOLD delay to 5ms.
Change-Id: I5a479639a72685eb5bd2860b08152f502c2d9aad
Signed-off-by: Vamsi Krishna <vskrishn@codeaurora.org>
diff --git a/arch/arm/mach-msm/mdm2.c b/arch/arm/mach-msm/mdm2.c
index 5db8b40..34bc415 100644
--- a/arch/arm/mach-msm/mdm2.c
+++ b/arch/arm/mach-msm/mdm2.c
@@ -82,7 +82,7 @@
/* Pull RESET gpio low and wait for it to settle. */
pr_debug("Pulling RESET gpio low\n");
gpio_direction_output(mdm_drv->ap2mdm_pmic_reset_n_gpio, 0);
- usleep(1000);
+ usleep_range(5000, 10000);
/* Deassert RESET first and wait for ir to settle. */
pr_debug("%s: Pulling RESET gpio high\n", __func__);