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

Skip to content
Commit 3371b80a authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Do not return invalid power stats when the device is off



adreno_power_stats() was returning unitialized data when the device
state was not active. Leave early from the function if the device
is not active and return 0s instead.

Change-Id: Ic0dedbadf6201cadb4472327c4ce7f9d9d32b82d
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 93a52180
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