]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: raw: atmel: Fix comment in timings preparation
authorAlexander Dahl <ada@thorsis.com>
Wed, 20 Mar 2024 09:02:13 +0000 (10:02 +0100)
committerDario Binacchi <dario.binacchi@amarulasolutions.com>
Sun, 14 Apr 2024 06:49:40 +0000 (08:49 +0200)
commit8f9a445c15d173a5aa50d4e4399453de53e9c89e
tree532abbacea8ceb1d2dc132fd4046e556511ce0fd
parente3b7545eb111b544c94c6f1cdd2e6f4252de0211
mtd: nand: raw: atmel: Fix comment in timings preparation

Introduced with commit 6a8dfd57220d ("nand: atmel: Add DM based NAND
driver") when driver was initially ported from Linux.  The context
around this and especially the code itself suggests 'read' is meant
instead of write.

The fix is the same as accepted in Linux already with mainline Linux
kernel commit 1c60e027ffde ("mtd: nand: raw: atmel: Fix comment in
timings preparation").

Link: https://lore.kernel.org/all/20240320090214.40465-6-ada@thorsis.com
Link: https://lore.kernel.org/linux-mtd/20240307172835.3453880-1-miquel.raynal@bootlin.com/T/#t
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
drivers/mtd/nand/raw/atmel/nand-controller.c