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)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 26 May 2021 08:43:33 +0000 (10:43 +0200)
commit4dd7ef970bee8a93e1817ec028a7e26aef046d0d
tree1fa396740c13120e15efb19578f292528cb46795
parent961965c45c706175b24227868b1c12d72775e446
mtd: rawnand: arasan: Check the proposed data interface is supported

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
drivers/mtd/nand/raw/arasan-nand-controller.c