ARM: OMAP3: PM: cpuidle: optimize the clkdm idle latency in C1 state
commit05011f711fc751456972d126bbb8081723629408
authorJean Pihet <jean.pihet@newoldbits.com>
Fri, 1 Jun 2012 15:11:08 +0000 (1 17:11 +0200)
committerKevin Hilman <khilman@ti.com>
Mon, 25 Jun 2012 18:24:24 +0000 (25 11:24 -0700)
tree92a79b38473b6ec1aa25b366a5caf1fa2e86a901
parent13d65c897e93dfeaed6fe28233559239f9676164
ARM: OMAP3: PM: cpuidle: optimize the clkdm idle latency in C1 state

For a power domain to idle all the clock domains in it must idle.
This patch implements an optimization of the cpuidle code by
denying and later allowing only the first registered clock domain
of a power domain, and so optimizes the latency of the low power code.

The functions _cpuidle_allow_idle and _cpuidle_deny_idle are
not used anymore and so are removed.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/cpuidle34xx.c