]> asedeno.scripts.mit.edu Git - linux.git/commit
mtd: rawnand: mtk: convert driver to nand_scan()
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 20 Jul 2018 15:15:06 +0000 (17:15 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 31 Jul 2018 07:46:00 +0000 (09:46 +0200)
commit1ce7826d7f178ab683d40d280ca079cf281aecff
tree5ab63b9e0e7f7f465d73915d2bcd74230a860ed7
parent8831e48bad1425d237219dedde547f6061081807
mtd: rawnand: mtk: convert driver to nand_scan()

Two helpers have been added to the core to do all kind of controller
side configuration/initialization between the detection phase and the
final NAND scan. Implement these hooks so that we can convert the driver
to just use nand_scan() instead of the nand_scan_ident() +
nand_scan_tail() pair.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Acked-by: Xiaolei Li <xiaolei.li@mediatek.com>
drivers/mtd/nand/raw/mtk_nand.c