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:
Hanumant Singh 2014-03-20 10:20:58 -07:00
parent 39e3e1e984
commit 5a08ef7e93
1 changed files with 0 additions and 5 deletions

View File

@ -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) {