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: Hanumant Singh <hanumant@codeaurora.org>
This commit is contained in:
parent
39e3e1e984
commit
5a08ef7e93
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue