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

Skip to content
Commit 883e626c authored by Huaibin Yang's avatar Huaibin Yang Committed by Stephen Boyd
Browse files

msm: clock-mdss: correct check for MDSS GDSC status



MDSS GDSC may be always on but clock is off in reset state.
Therefore, the correct way to check GDSC status is read both
gdsc enable bit and the clock reset bit. This change is
necessary to prevent potential crashes that may occur if
MDSS registers are accessed when MDSS GDSC is not enabled.

Change-Id: I501450beed3ea798329b34b96f2966cfefc901c2
Signed-off-by: default avatarHuaibin Yang <huaibiny@codeaurora.org>
parent 5e746ad0
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