diff options
| -rw-r--r-- | drivers/memory/tegra/mc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/memory/tegra/mc.h b/drivers/memory/tegra/mc.h index 9856f085e487..887a3b07334f 100644 --- a/drivers/memory/tegra/mc.h +++ b/drivers/memory/tegra/mc.h | |||
| @@ -26,13 +26,13 @@ | |||
| 26 | 26 | ||
| 27 | static inline u32 mc_readl(struct tegra_mc *mc, unsigned long offset) | 27 | static inline u32 mc_readl(struct tegra_mc *mc, unsigned long offset) |
| 28 | { | 28 | { |
| 29 | return readl(mc->regs + offset); | 29 | return readl_relaxed(mc->regs + offset); |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | static inline void mc_writel(struct tegra_mc *mc, u32 value, | 32 | static inline void mc_writel(struct tegra_mc *mc, u32 value, |
| 33 | unsigned long offset) | 33 | unsigned long offset) |
| 34 | { | 34 | { |
| 35 | writel(value, mc->regs + offset); | 35 | writel_relaxed(value, mc->regs + offset); |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | extern const struct tegra_mc_reset_ops terga_mc_reset_ops_common; | 38 | extern const struct tegra_mc_reset_ops terga_mc_reset_ops_common; |
