Skip to content

Commit 2a959fb

Browse files
LeSpockyUlrich Hecht
authored andcommitted
mtd: nand: raw: atmel: Fix comment in timings preparation
[ Upstream commit 1c60e027ffdebd36f4da766d9c9abbd1ea4dd8f9 ] 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 <ada@thorsis.com> Reviewed-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20240226122537.75097-1-ada@thorsis.com Stable-dep-of: fd779eac2d65 ("mtd: nand: raw: atmel: Respect tAR, tCLR in read setup timing") Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ulrich Hecht <uli@kernel.org>
1 parent eac843f commit 2a959fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

13351335
/*
1336-
* The write cycle timing is directly matching tWC, but is also
1336+
* The read cycle timing is directly matching tRC, but is also
13371337
* dependent on the setup and hold timings we calculated earlier,
13381338
* which gives:
13391339
*

0 commit comments

Comments
 (0)