Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f576f14a authored by Raghavendra Rao Ananta's avatar Raghavendra Rao Ananta
Browse files

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: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent ac121119
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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++) {