diff options
author | Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com> | 2008-10-15 10:48:43 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-09-02 18:08:23 -0400 |
commit | ba20bb126940ce4847e146a0d00b7f7b0868d773 (patch) | |
tree | d9a8f3c316aa66261ba026e9bd2507fa4ec9a931 /arch/arm/mach-omap2/clockdomain.c | |
parent | 36d568ec055cb3ac4507d38ebabba955cdbb443e (diff) |
OMAP: PM counter infrastructure.
This patch provides the infrastructure to count how many times a
powerdomain entered a given power state (on, inactive, retention,
off). A number of functions are provided which will be called by the
chip specific powerdomain and clockdomain code whenever a transition
might have happened.
Signed-off-by: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/clockdomain.c')
-rw-r--r-- | arch/arm/mach-omap2/clockdomain.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clockdomain.c b/arch/arm/mach-omap2/clockdomain.c index 0e7d501865b6..26912a95dc18 100644 --- a/arch/arm/mach-omap2/clockdomain.c +++ b/arch/arm/mach-omap2/clockdomain.c | |||
@@ -484,6 +484,8 @@ void omap2_clkdm_allow_idle(struct clockdomain *clkdm) | |||
484 | v << __ffs(clkdm->clktrctrl_mask), | 484 | v << __ffs(clkdm->clktrctrl_mask), |
485 | clkdm->pwrdm.ptr->prcm_offs, | 485 | clkdm->pwrdm.ptr->prcm_offs, |
486 | CM_CLKSTCTRL); | 486 | CM_CLKSTCTRL); |
487 | |||
488 | pwrdm_clkdm_state_switch(clkdm); | ||
487 | } | 489 | } |
488 | 490 | ||
489 | /** | 491 | /** |