summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/davinci_nand.c
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2018-03-21 14:01:43 +0100
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-03-29 09:38:18 +0200
commita446c998ff0cd49fa8023f607e9fc15ce45ec576 (patch)
tree7b8d6677d605ba4c2aca81c2c7c8cb30fd67b2d9 /drivers/mtd/nand/raw/davinci_nand.c
parent5826b8802a970d2b0aaf097951de42040ee32480 (diff)
mtd: rawnand: cafe: fix probe function error path
An error after nand_scan_tail() should trigger a nand_cleanup(). The helper mtd_device_parse_register() returns an error code that should be checked and nand_cleanup() called accordingly. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/davinci_nand.c')
0 files changed, 0 insertions, 0 deletions