Skip to contentSkip to conversation

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

PATCH In review Mark Brown 2 participants 2 messages Jul 19, 2013

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

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

From: Mark Brown <[email protected]>

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.

---
 sound/soc/fsl/fsl_ssi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/fsl/fsl_ssi.c +1 -1
index c9974a4..e12a997 100644
@@ -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)
 /*
Signature · 1 line
1.8.3.2
#1 lore raw
Quoted 5 lines · Mark Brown

From: Mark Brown <[email protected]>

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.

Ack

Quoted 21 lines

---
sound/soc/fsl/fsl_ssi.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/fsl/fsl_ssi.c +1 -1
index c9974a4..e12a997 100644
@@ -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)
 /*
Signature · 1 line
1.8.3.2