mirror of https://gitee.com/openkylin/linux.git
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: Mark Brown <broonie@linaro.org> Acked-by: Timur Tabi <timur@tabi.org>
This commit is contained in:
parent
d8a14e302f
commit
0a9eaa39db
|
@ -36,7 +36,7 @@
|
|||
#define read_ssi(addr) in_be32(addr)
|
||||
#define write_ssi(val, addr) out_be32(addr, val)
|
||||
#define write_ssi_mask(addr, clear, set) clrsetbits_be32(addr, clear, set)
|
||||
#elif defined ARM
|
||||
#else
|
||||
#define read_ssi(addr) readl(addr)
|
||||
#define write_ssi(val, addr) writel(val, addr)
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue