Commit 0a9eaa39 authored by Mark Brown's avatar Mark Brown

ASoC: fsl_ssi: Provide register I/O functions by default

Use the ARM version by default as that's the more generally portable
one, it doesn't matter if they work well on random platforms when the
goal is only build coverage.
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
Acked-by: default avatarTimur Tabi <timur@tabi.org>
parent d8a14e30
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#define read_ssi(addr) in_be32(addr) #define read_ssi(addr) in_be32(addr)
#define write_ssi(val, addr) out_be32(addr, val) #define write_ssi(val, addr) out_be32(addr, val)
#define write_ssi_mask(addr, clear, set) clrsetbits_be32(addr, clear, set) #define write_ssi_mask(addr, clear, set) clrsetbits_be32(addr, clear, set)
#elif defined ARM #else
#define read_ssi(addr) readl(addr) #define read_ssi(addr) readl(addr)
#define write_ssi(val, addr) writel(val, addr) #define write_ssi(val, addr) writel(val, addr)
/* /*
......
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