summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorAlexander Dahl <ada@thorsis.com>2017-07-25 14:00:24 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-07-26 22:37:54 +0200
commit3fb3b3c4b68e33bb4acf42361b6a0db96115de35 (patch)
treeb585bdcaede6b86749e3a44cba67f5f62ba7b40a /drivers/mfd
parent1f6b53901f5bffbbb0464c732e83bb2a3a784ff7 (diff)
downloadop-kernel-dev-3fb3b3c4b68e33bb4acf42361b6a0db96115de35.zip
op-kernel-dev-3fb3b3c4b68e33bb4acf42361b6a0db96115de35.tar.gz
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/atmel-smc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/atmel-smc.c b/drivers/mfd/atmel-smc.c
index 954cf0f..20cc0ea 100644
--- a/drivers/mfd/atmel-smc.c
+++ b/drivers/mfd/atmel-smc.c
@@ -206,7 +206,7 @@ EXPORT_SYMBOL_GPL(atmel_smc_cs_conf_set_pulse);
* parameter
*
* This function encodes the @ncycles value as described in the datasheet
- * (section "SMC Pulse Register"), and then stores the result in the
+ * (section "SMC Cycle Register"), and then stores the result in the
* @conf->setup field at @shift position.
*
* Returns -EINVAL if @shift is invalid, -ERANGE if @ncycles does not fit in
OpenPOWER on IntegriCloud