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

Commit 5a08ef7e authored by Hanumant Singh's avatar Hanumant Singh
Browse files

esoc: mdm: Remove power off step from debug mode



After debug is done, a complete power down of the modem
will wipe out the crash cause information.
Remove the power down step and rely on a reset during the
subsequent power up.

Change-Id: Ic3157d5a8d22f7b16a6ecc1fa325d2127d8aafca
Signed-off-by: default avatarHanumant Singh <hanumant@codeaurora.org>
parent 39e3e1e9
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -157,11 +157,6 @@ static int mdm_subsys_powerup(const struct subsys_desc *crashed_subsys)
			dev_err(&esoc_clink->dev, "cannot exit debug mode\n");
			return ret;
		}
		ret = clink_ops->cmd_exe(ESOC_PWR_OFF, esoc_clink);
		if (ret) {
			dev_err(&esoc_clink->dev, "pwr off fail\n");
			return ret;
		}
		mdm_drv->mode = PWR_OFF;
		ret = clink_ops->cmd_exe(ESOC_PWR_ON, esoc_clink);
		if (ret) {