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

Commit 755686a1 authored by Ritesh Kumar's avatar Ritesh Kumar Committed by Steve Cohen
Browse files

disp: msm: dsi: Handle GDSC PM in pre/post clk on/off



Currently, power_state variable does not reflect the GDSC
status. Due to this, there are scenarios where ctrl_power_on
is not happening leading to clock failures. This change
updates power_state based on current status of all the
regulators. GDSC enable is moved to pre_clkon and GDSC
disable is moved to post_clkoff.

Change-Id: I6d9508d5dffda0c94bd3b3bd9b5feb4724dc9dc7
Signed-off-by: default avatarRitesh Kumar <riteshk@codeaurora.org>
[cohens@codeaurora.org: fixed static analysis error]
Signed-off-by: default avatarSteve Cohen <cohens@codeaurora.org>
parent 6d59f959
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