Skip to contentSkip to conversation

davinci: tests for suitable timings in davinci_aemif_setup_timing() fail

PATCH New roel kluin 1 participant 1 message Jan 1, 2011

Subsystems (3)
lore
Share & tools
lore

roel kluin

author
#0 lore raw

PATCH 1/1 davinci: tests for suitable timings in davinci_aemif_setup_timing() fail

These have to be signed or the tests for suitable timings always fail.

---
 arch/arm/mach-davinci/aemif.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

This was not compile tested.

arch/arm/mach-davinci/aemif.c +1 -1
index 9c3f500..1ce70a9 100644
@@ -90,7 +90,7 @@ int davinci_aemif_setup_timing(struct davinci_aemif_timing *t,
 					void __iomem *base, unsigned cs)
 {
 	unsigned set, val;
-	unsigned ta, rhold, rstrobe, rsetup, whold, wstrobe, wsetup;
+	int ta, rhold, rstrobe, rsetup, whold, wstrobe, wsetup;
 	unsigned offset = A1CR_OFFSET + cs * 4;
 	struct clk *aemif_clk;
 	unsigned long clkrate;