mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
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:
parent
11b286fb73
commit
ff80a9c821
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue