Thread (36 messages) 36 messages, 4 authors, 2014-02-07
STALE4521d
Revisions (5)
  1. v1 [diff vs current]
  2. v2 current
  3. v3 [diff vs current]
  4. v4 [diff vs current]
  5. v5 [diff vs current]

[PATCH v2 05/12] at91: smc: Increased the size of tdf_cycles in struct sam9_smc_config.

From: Jean-Jacques Hiblot <hidden>
Date: 2014-01-09 12:37:56
Also in: lkml
Subsystem: arm port, arm/microchip (at91) soc support, the rest · Maintainers: Russell King, Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Linus Torvalds

This makes it possible to check if the tdf_cycle is too big to fit in the
register.

Signed-off-by: Jean-Jacques Hiblot <redacted>
---
 arch/arm/mach-at91/include/mach/at91sam9_smc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/include/mach/at91sam9_smc.h b/arch/arm/mach-at91/include/mach/at91sam9_smc.h
index 56de08a..c3e29311 100644
--- a/arch/arm/mach-at91/include/mach/at91sam9_smc.h
+++ b/arch/arm/mach-at91/include/mach/at91sam9_smc.h
@@ -38,7 +38,7 @@ struct sam9_smc_config {
 
 	/* Mode register */
 	u32 mode;
-	u8 tdf_cycles:4;
+	u8 tdf_cycles;
 };
 
 extern void sam9_smc_configure(int id, int cs, struct sam9_smc_config *config);
-- 
1.8.5.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help