diff options
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | 2018-05-03 14:21:28 +1200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-16 10:12:31 +0200 |
commit | 5ce38a1bcb47ae064ef81d4e23eb88fd4d0c11d4 (patch) | |
tree | 74cd11d3a4f4052a488228b38797f74cc30b0e24 /tools | |
parent | 37be6761ece7db918969b55a647d5265d0ae5cb0 (diff) |
mtd: rawnand: marvell: pass ms delay to wait_op
commit b76401fc4ba720f0f38f7b1f9d54d5c2308bc18d upstream.
marvell_nfc_wait_op() expects the delay to be expressed in milliseconds
but nand_sdr_timings uses picoseconds. Use PSEC_TO_MSEC when passing
tPROG_max to marvell_nfc_wait_op().
Fixes: 02f26ecf8c772 ("mtd: nand: add reworked Marvell NAND controller driver")
Cc: stable@vger.kernel.org
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions