clk: qcom: dispcc: Fix stuck on warning for disp_cc_mdss_mdp_lut_clk

Fix the "status stuck at on" warning when disabling
disp_cc_mdss_mdp_lut_clk. The enable bit for this clock doesn't actually
do anything and instead the enable signal is tied to the enable bit of
disp_cc_mdss_mdp_clk. Even though this clock isn't truly votable, use
BRANCH_HALT_VOTED to ensure that the client enables disp_cc_mdss_mdp_clk
before this one and that we don't throw a warning on the disable path
when the clock doesn't actually turn off yet.

Change-Id: Iac4a5f5480faaa0c182202c03bbf29c5cabcb7e6
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
This commit is contained in:
Mike Tipton 2019-11-25 11:38:14 -08:00
commit ff80a9c821

View file

@ -1081,7 +1081,7 @@ static struct clk_branch disp_cc_mdss_mdp_clk = {
static struct clk_branch disp_cc_mdss_mdp_lut_clk = {
.halt_reg = 0x201c,
.halt_check = BRANCH_HALT,
.halt_check = BRANCH_HALT_VOTED,
.clkr = {
.enable_reg = 0x201c,
.enable_mask = BIT(0),