From: Alexander Dahl Date: Mon, 26 Feb 2024 12:25:37 +0000 (+0100) Subject: mtd: nand: raw: atmel: Fix comment in timings preparation X-Git-Tag: v6.9-rc1~95^2^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c60e027ffdebd36f4da766d9c9abbd1ea4dd8f9;p=thirdparty%2Fkernel%2Flinux.git 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 f9ce2eddf176 ("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 Reviewed-by: Nicolas Ferre Signed-off-by: Miquel Raynal Link: https://lore.kernel.org/linux-mtd/20240226122537.75097-1-ada@thorsis.com --- diff --git a/drivers/mtd/nand/raw/atmel/nand-controller.c b/drivers/mtd/nand/raw/atmel/nand-controller.c index 4cb478bbee4a4..dc75d50d52e84 100644 --- a/drivers/mtd/nand/raw/atmel/nand-controller.c +++ b/drivers/mtd/nand/raw/atmel/nand-controller.c @@ -1378,7 +1378,7 @@ static int atmel_smc_nand_prepare_smcconf(struct atmel_nand *nand, return ret; /* - * The write cycle timing is directly matching tWC, but is also + * The read cycle timing is directly matching tRC, but is also * dependent on the setup and hold timings we calculated earlier, * which gives: *