|
@@ -764,6 +764,7 @@ int clkdm_sleep(struct clockdomain *clkdm)
|
|
spin_lock_irqsave(&clkdm->lock, flags);
|
|
spin_lock_irqsave(&clkdm->lock, flags);
|
|
clkdm->_flags &= ~_CLKDM_FLAG_HWSUP_ENABLED;
|
|
clkdm->_flags &= ~_CLKDM_FLAG_HWSUP_ENABLED;
|
|
ret = arch_clkdm->clkdm_sleep(clkdm);
|
|
ret = arch_clkdm->clkdm_sleep(clkdm);
|
|
|
|
+ ret |= pwrdm_state_switch(clkdm->pwrdm.ptr);
|
|
spin_unlock_irqrestore(&clkdm->lock, flags);
|
|
spin_unlock_irqrestore(&clkdm->lock, flags);
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|