]> asedeno.scripts.mit.edu Git - linux.git/commit
mtd: rawnand: fsmc: fix the probe function error path
authorMiquel Raynal <miquel.raynal@bootlin.com>
Sat, 21 Apr 2018 18:00:37 +0000 (20:00 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Sun, 29 Apr 2018 06:56:43 +0000 (08:56 +0200)
commit682cae27b1da0554496983a356b82b4d87540c48
tree46688d7baffa74bfce58d12551dbde1ef3b4cc5f
parent43fab011e93fea0699c2e79a7e561b8f095906f3
mtd: rawnand: fsmc: fix the probe function error path

An error after nand_scan_tail() should trigger a nand_cleanup().

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/nand/raw/fsmc_nand.c