Skip to content
Commit 16d8b628 authored by Herve Codina's avatar Herve Codina Committed by Miquel Raynal
Browse files

mtd: rawnand: Fix nand_erase_op delay



NAND_OP_CMD() expects a delay parameter in nanoseconds.
The delay value is wrongly given in milliseconds.

Fix the conversion macro used in order to set this
delay in nanoseconds.

Fixes: d7a773e8 ("mtd: rawnand: Access SDR and NV-DDR timings through a common macro")
Signed-off-by: default avatarHerve Codina <herve.codina@bootlin.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20211119150316.43080-2-herve.codina@bootlin.com
parent 2e69e18a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment