[Sound-open-firmware] [PATCH 3/3] SHIM: Correction for the APL header file macro

Seppo Ingalsuo seppo.ingalsuo at linux.intel.com
Thu May 3 12:18:55 CEST 2018


The macro doesn't use the parameter x so better to remove it.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo at linux.intel.com>
---
 src/platform/apollolake/include/platform/shim.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/platform/apollolake/include/platform/shim.h b/src/platform/apollolake/include/platform/shim.h
index c7fcc8f..daff826 100644
--- a/src/platform/apollolake/include/platform/shim.h
+++ b/src/platform/apollolake/include/platform/shim.h
@@ -123,7 +123,7 @@
 
 /* LP GPDMA Force Dynamic Clock Gating bits, 0--enable */
 #define SHIM_CLKCTL_LPGPDMAFDCGB(x)	(0x1 << (26 + x))
-#define SHIM_CLKCTL_DMICFDCGB(x)	(0x1 << 24)
+#define SHIM_CLKCTL_DMICFDCGB           (0x1 << 24)
 #define SHIM_CLKCTL_I2SFDCGB(x)		(0x1 << (20 + x))
 #define SHIM_CLKCTL_I2SEFDCGB(x)	(0x1 << (18 + x))
 #define SHIM_CLKCTL_TCPLCG(x)		(0x1 << (16 + x))
-- 
2.14.1



More information about the Sound-open-firmware mailing list