Skip to content

Commit

Permalink
ARM: mach-tegra: properly disable CPU idle call
Browse files Browse the repository at this point in the history
Signed-off-by: nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
  • Loading branch information
Nicolas Pitre authored and Nicolas Pitre committed Jan 20, 2012
1 parent 8bab421 commit daa14d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/mach-tegra/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <asm/hardware/gic.h>

#include <mach/iomap.h>
#include <mach/system.h>

#include "board.h"
#include "clock.h"
Expand Down Expand Up @@ -96,6 +95,8 @@ static void __init tegra_init_cache(u32 tag_latency, u32 data_latency)
#ifdef CONFIG_ARCH_TEGRA_2x_SOC
void __init tegra20_init_early(void)
{
disable_hlt(); /* idle WFI usage needs to be confirmed */

tegra_init_fuse();
tegra2_init_clocks();
tegra_clk_init_from_table(tegra20_clk_init_table);
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-tegra/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

static inline void arch_idle(void)
{
cpu_do_idle();
}

#endif

0 comments on commit daa14d5

Please sign in to comment.