diff options
-rw-r--r-- | arch/arm/mach-tegra/common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c index 34559d15782..54826b805b9 100644 --- a/arch/arm/mach-tegra/common.c +++ b/arch/arm/mach-tegra/common.c | |||
@@ -39,9 +39,10 @@ void tegra_assert_system_reset(char mode, const char *cmd) | |||
39 | void __iomem *reset = IO_ADDRESS(TEGRA_CLK_RESET_BASE + 0x04); | 39 | void __iomem *reset = IO_ADDRESS(TEGRA_CLK_RESET_BASE + 0x04); |
40 | u32 reg; | 40 | u32 reg; |
41 | 41 | ||
42 | reg = readl(reset); | 42 | /* use *_related to avoid spinlock since caches are off */ |
43 | reg = readl_relaxed(reset); | ||
43 | reg |= 0x04; | 44 | reg |= 0x04; |
44 | writel(reg, reset); | 45 | writel_relaxed(reg, reset); |
45 | } | 46 | } |
46 | 47 | ||
47 | static __initdata struct tegra_clk_init_table common_clk_init_table[] = { | 48 | static __initdata struct tegra_clk_init_table common_clk_init_table[] = { |