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

Commit 7e442017 authored by Rishabh Bhatnagar's avatar Rishabh Bhatnagar
Browse files

esoc: Change the toggle delay for external modem.



Minimum toggle delay needed to ensure reset occurs correctly is
120ms. Change the minimum bound of usleep_range to 120ms.

Change-Id: I3a2a4301787ff5032698adc979cbf57153ecacfc
Signed-off-by: default avatarRishabh Bhatnagar <rishabhb@codeaurora.org>
parent 4a9accc9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2014-2015, 2017-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2015, 2017-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -62,7 +62,7 @@ static int sdx50m_toggle_soft_reset(struct mdm_ctrl *mdm, bool atomic)
	 * Allow PS hold assert to be detected
	 */
	if (!atomic)
		usleep_range(80000,180000);
		usleep_range(120000, 180000);
	else
		/*
		 * The flow falls through this path as a part of the