Skip to content
Commit 0c7b4888 authored by Herve Codina's avatar Herve Codina Committed by Greg Kroah-Hartman
Browse files

mtd: rawnand: Fix nand_erase_op delay



[ Upstream commit 16d8b628 ]

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


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e3bc4d4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment