Commit f6194213 authored by Ben Dooks's avatar Ben Dooks Committed by Michael Turquette

clk: at91: change to using endian agnositc IO

Change to using endian agnostic _relaxed IO accessors instead of __raw
Signed-off-by: default avatarBen Dooks <>
CC: Andrew Victor <>
CC: Nicolas Ferre <>
CC: Jean-Christophe Plagniol-Villard <>
CC: Mike Turquette <> (maintainer:COMMON CLK FRAMEWORK)
CC: Stephen Boyd <> (maintainer:COMMON CLK FRAMEWORK)
Signed-off-by: default avatarMichael Turquette <>
parent c14deee3
......@@ -20,10 +20,10 @@
extern void __iomem *at91_pmc_base;
#define at91_pmc_read(field) \
__raw_readl(at91_pmc_base + field)
readl_relaxed(at91_pmc_base + field)
#define at91_pmc_write(field, value) \
__raw_writel(value, at91_pmc_base + field)
writel_relaxed(value, at91_pmc_base + field)
.extern at91_pmc_base
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment