]> Pileus Git - ~andy/linux/commit
ARM: tegra: cpuidle: move the init function behind the suspend init function
authorJoseph Lo <josephl@nvidia.com>
Tue, 4 Jun 2013 10:47:32 +0000 (18:47 +0800)
committerStephen Warren <swarren@nvidia.com>
Wed, 5 Jun 2013 17:44:53 +0000 (11:44 -0600)
commite22dc2b25655706751789a8d035b57bf04299cbd
tree18a0250ed829782f4bbe3f167b60cb3c2b503472
parentaf7f322ea8d00d120f06de4d6f73ad704c7fcc61
ARM: tegra: cpuidle: move the init function behind the suspend init function

One of the state of CPUidle on Tegra can power gate the CPU and the
vdd_cpu rail. But it depends on some configurations from DT and a common
hook function for different Tegra SoCs to power gate the CPU rail. And
these stuffs are initialized after common Tegra suspend init function. So
we move the CPUidle init behind the suspend init function. And making the
CPUidle driver more generic.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/cpuidle.c
arch/arm/mach-tegra/cpuidle.h