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

Commit 93a97f2a authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

msm: qpnp-power-on: program S3_TIMER register only based on DT property



Currently, S3 timer register is getting configured even when the
corresponding device tree property is not present. For e.g. S3
timer for secondary PMIC's PON is programmed to zero causing
immediate reset of that PMIC when the power + volume down keys
are pressed. Fix this by checking that the device tree property
is available before programming the timers.

CRs-Fixed: 783553
Change-Id: Ia78f7cd78b31930783bed51c63afea6edc775ac9
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 42162e39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment