From f576f14a8763a7c2208e98e743f2c87fe4d8078c Mon Sep 17 00:00:00 2001 From: Raghavendra Rao Ananta Date: Tue, 29 May 2018 09:34:18 -0700 Subject: [PATCH] esoc: Increase the post power-on delay Increase the post power-on delay from 50 ms to 150 ms. This is to give sufficient time for the external modem to complete the PCIe link training. Change-Id: I712177d1fc5d160848ccc838cadbb0f85b2fe1a7 Signed-off-by: Raghavendra Rao Ananta --- drivers/esoc/esoc-mdm-pon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/esoc/esoc-mdm-pon.c b/drivers/esoc/esoc-mdm-pon.c index f2e6f7af446f..3f73364c2fed 100644 --- a/drivers/esoc/esoc-mdm-pon.c +++ b/drivers/esoc/esoc-mdm-pon.c @@ -81,7 +81,7 @@ static int mdm4x_do_first_power_on(struct mdm_ctrl *mdm) mdm_toggle_soft_reset(mdm, false); /* Add a delay to allow PON sequence to complete*/ - msleep(50); + msleep(150); gpio_direction_output(MDM_GPIO(mdm, AP2MDM_STATUS), 1); if (gpio_is_valid(MDM_GPIO(mdm, MDM2AP_PBLRDY))) { for (i = 0; i < MDM_PBLRDY_CNT; i++) {