Skip to content
Commit 92aa292d authored by Miquel Raynal's avatar Miquel Raynal
Browse files

mtd: rawnand: sm_common: fix the probe function error path



nand_cleanup() should be called upon error after a successful
nand_scan_tail().

Rework the error path to follow this rule .

Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 962c35ef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment