aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2018-07-25 15:31:44 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-07-31 09:46:10 +0200
commitf57bbfb9e3f47b6d4eecb1d8037dab1cda9996a4 (patch)
tree65d0ca20e2b5525f1a3d86d4fe44f75effb5ffe6 /lib/debugobjects.c
parent66a38478dcc5b5a35e49055f2eb301f8ac594e3f (diff)
mtd: rawnand: jz4740: fix probe function error path
An error after nand_scan_tail() should trigger a nand_cleanup(), not a nand_release() as mtd_device_register() (or one of its variants) has not been called and there is no need to deregister any MTD device yet. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions