Skip to content

Commit 1c60e02

Browse files
LeSpockymiquelraynal
authored andcommitted
mtd: nand: raw: atmel: Fix comment in timings preparation
Looks like a copy'n'paste mistake introduced when initially adding the dynamic timings feature with commit f9ce2ed ("mtd: nand: atmel: Add ->setup_data_interface() hooks"). The context around this and especially the code itself suggests 'read' is meant instead of write. Signed-off-by: Alexander Dahl <[email protected]> Reviewed-by: Nicolas Ferre <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
1 parent 6fb075f commit 1c60e02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mtd/nand/raw/atmel/nand-controller.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1378,7 +1378,7 @@ static int atmel_smc_nand_prepare_smcconf(struct atmel_nand *nand,
13781378
return ret;
13791379

13801380
/*
1381-
* The write cycle timing is directly matching tWC, but is also
1381+
* The read cycle timing is directly matching tRC, but is also
13821382
* dependent on the setup and hold timings we calculated earlier,
13831383
* which gives:
13841384
*

0 commit comments

Comments
 (0)