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

Commit 60ad9ca0 authored by Archana Sriram's avatar Archana Sriram Committed by Gerrit - the friendly Code Review server
Browse files

msm : kgsl: Fix clk_unprepare() ref count issue



During low power states of NAP and DEEP_NAP,
driver has to perform clk_enable() and return.
But in the current code, driver is performing
clk_prepare_enable() in DEEP_NAP state, which is
causing ref count issue for clk_uprepare thus
graphics clocks voting for XO and preventing XO
shutdown. Fixed this by adding DEEP_NAP check to
perform only clk_enable, similar to NAP state.

CRs-fixed: 2081825
Change-Id: I465c9aea2ba876fa488e2f665a762e8e4c50b0fd
Signed-off-by: default avatarArchana Sriram <apsrir@codeaurora.org>
parent 688bb0a5
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