[ARM] tegra: cpufreq: Disable cpufreq during suspend
authorColin Cross <ccross@google.com>
Fri, 6 Aug 2010 00:40:39 +0000 (17:40 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:26:29 +0000 (16:26 -0700)
commitbd510a2ba375b96cfb23e604acbf857b23d19f76
tree8506fc2f73482093628afbcda6ba9c22e42ffc45
parent4f46b600bf43d467b48263eff4704eba1ce505d1
[ARM] tegra: cpufreq: Disable cpufreq during suspend

Adds a SUSPEND_PREPARE notification hook to drop the frequency to
the lowest possible during suspend.  This prevents the cpufreq driver
from attempting regulator calls after suspend has started - the
regulator api can call into drivers that have already been suspended.
Also adds 216MHz (off of PLLP) as the lowest CPU frequency, which
allows PLLX to be turned off.

Change-Id: I46a7f88610ce35b6f761a557905861f79bc4df0b
Signed-off-by: Colin Cross <ccross@google.com>
arch/arm/mach-tegra/cpu-tegra.c