]> git.itanic.dy.fi Git - linux-stable/commit
mtd: rawnand: arasan: Check the proposed data interface is supported
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 5 May 2021 21:37:30 +0000 (23:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2022 13:16:16 +0000 (15:16 +0200)
commit72fae7e7f7f5336bac83698eab71edb061c292f0
tree2f2dc9c9531c881b223c15eae33fbe96a601af11
parentc91e5215a4136c33fde9b9688643dbac72139d9b
mtd: rawnand: arasan: Check the proposed data interface is supported

[ Upstream commit 4dd7ef970bee8a93e1817ec028a7e26aef046d0d ]

Check the data interface is supported in ->setup_interface() before
acknowledging the timings.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210505213750.257417-3-miquel.raynal@bootlin.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mtd/nand/raw/arasan-nand-controller.c