summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/cpu-tegra.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-02-13 02:52:04 +0300
committerColin Cross <ccross@android.com>2011-02-21 11:10:06 +0300
commit41cfe3676d0f4f07ba79d4f64a21450ab02d22cd (patch)
treeada86fc6fa5099fdccd57cdb229b2b345d422b0a /arch/arm/mach-tegra/cpu-tegra.c
parentf035530b799a9c945415ad2139bb6494b542639a (diff)
downloadlinux-41cfe3676d0f4f07ba79d4f64a21450ab02d22cd.tar.xz
ARM: tegra: clock: Drop CPU dvfs
The existing version did not extend well to core dvfs, drop it for now until the new clk api with clk_prepare and clk_unprepare is ready and non-atomic clocks are possible. Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/cpu-tegra.c')
-rw-r--r--arch/arm/mach-tegra/cpu-tegra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/cpu-tegra.c b/arch/arm/mach-tegra/cpu-tegra.c
index ad26a9f3a134..cda03f11550e 100644
--- a/arch/arm/mach-tegra/cpu-tegra.c
+++ b/arch/arm/mach-tegra/cpu-tegra.c
@@ -91,7 +91,7 @@ static int tegra_update_cpu_speed(unsigned long rate)
freqs.old, freqs.new);
#endif
- ret = clk_set_rate_cansleep(cpu_clk, freqs.new * 1000);
+ ret = clk_set_rate(cpu_clk, freqs.new * 1000);
if (ret) {
pr_err("cpu-tegra: Failed to set cpu frequency to %d kHz\n",
freqs.new);