|
@@ -840,7 +840,7 @@ void clkdm_allow_idle(struct clockdomain *clkdm)
|
|
|
spin_lock_irqsave(&clkdm->lock, flags);
|
|
|
clkdm->_flags |= _CLKDM_FLAG_HWSUP_ENABLED;
|
|
|
arch_clkdm->clkdm_allow_idle(clkdm);
|
|
|
- pwrdm_clkdm_state_switch(clkdm);
|
|
|
+ pwrdm_state_switch(clkdm->pwrdm.ptr);
|
|
|
spin_unlock_irqrestore(&clkdm->lock, flags);
|
|
|
}
|
|
|
|
|
@@ -924,8 +924,7 @@ static int _clkdm_clk_hwmod_enable(struct clockdomain *clkdm)
|
|
|
|
|
|
spin_lock_irqsave(&clkdm->lock, flags);
|
|
|
arch_clkdm->clkdm_clk_enable(clkdm);
|
|
|
- pwrdm_wait_transition(clkdm->pwrdm.ptr);
|
|
|
- pwrdm_clkdm_state_switch(clkdm);
|
|
|
+ pwrdm_state_switch(clkdm->pwrdm.ptr);
|
|
|
spin_unlock_irqrestore(&clkdm->lock, flags);
|
|
|
|
|
|
pr_debug("clockdomain: clkdm %s: enabled\n", clkdm->name);
|
|
@@ -950,7 +949,7 @@ static int _clkdm_clk_hwmod_disable(struct clockdomain *clkdm)
|
|
|
|
|
|
spin_lock_irqsave(&clkdm->lock, flags);
|
|
|
arch_clkdm->clkdm_clk_disable(clkdm);
|
|
|
- pwrdm_clkdm_state_switch(clkdm);
|
|
|
+ pwrdm_state_switch(clkdm->pwrdm.ptr);
|
|
|
spin_unlock_irqrestore(&clkdm->lock, flags);
|
|
|
|
|
|
pr_debug("clockdomain: clkdm %s: disabled\n", clkdm->name);
|