memory: atmel-ebi: Fix smc cycle xlate converter
authorAlexander Dahl <ada@thorsis.com>
Tue, 25 Jul 2017 12:00:24 +0000 (14:00 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 26 Jul 2017 20:37:54 +0000 (22:37 +0200)
commit3fb3b3c4b68e33bb4acf42361b6a0db96115de35
treeb585bdcaede6b86749e3a44cba67f5f62ba7b40a
parent1f6b53901f5bffbbb0464c732e83bb2a3a784ff7
memory: atmel-ebi: Fix smc cycle xlate converter

The converter function for translating ns timings in register values was
initialized with a wrong function pointer. This resulted in wrong
register values also for the setup and pulse registers when configuring
the EBI interface trough dts.

Includes a small fix in a comment of the smc driver, which was probably
just a copy'n'paste mistake.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/memory/atmel-ebi.c
drivers/mfd/atmel-smc.c