From: Colin Cross Date: Fri, 6 Aug 2010 00:40:39 +0000 (-0700) Subject: ARM: tegra: cpufreq: Disable cpufreq during suspend X-Git-Tag: v2.6.39-rc1~474^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1eb2ecf1d5b3c29ce86f098de4ad21fa757d2160;p=pandora-kernel.git ARM: tegra: cpufreq: Disable cpufreq during suspend On Tegra, calling clk_set_rate on the CPU clock may call into the regulator API. If the regulator driver that controls the CPU voltage rail has been suspended, this can lead to attempted communication with a hardware block that has already been turned off. Adds a SUSPEND_PREPARE notification hook to drop the frequency to the lowest possible during suspend. Also adds 216MHz (off of PLLP) as the lowest CPU frequency, which allows PLLX to be turned off. Signed-off-by: Colin Cross --- Reading git-diff-tree failed