davinci: tests for suitable timings in davinci_aemif_setup_timing() fail
Subsystems (3)
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.
Signed-off-by Roel Kluin <[email protected]>
--- 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
@@ -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;