]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mtd: rawnand: rockchip: ensure NVDDR timings are rejected
authorVal Packett <val@packett.cool>
Sun, 19 May 2024 03:13:39 +0000 (00:13 -0300)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 27 May 2024 11:42:25 +0000 (13:42 +0200)
commitb27d8946b5edd9827ee3c2f9ea1dd30022fb1ebe
tree8c3f8e63085a619b347ecd591927a5456a939b1e
parent8754d9835683e8fab9a8305acdb38a3aeb9d20bd
mtd: rawnand: rockchip: ensure NVDDR timings are rejected

.setup_interface first gets called with a "target" value of
NAND_DATA_IFACE_CHECK_ONLY, in which case an error is expected
if the controller driver does not support the timing mode (NVDDR).

Fixes: a9ecc8c814e9 ("mtd: rawnand: Choose the best timings, NV-DDR included")
Signed-off-by: Val Packett <val@packett.cool>
Cc: stable@vger.kernel.org
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240519031409.26464-1-val@packett.cool
drivers/mtd/nand/raw/rockchip-nand-controller.c