commit | 92aa292d2e47be6210c0ba6074fc0ddfc02f7856 | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Sun Feb 25 23:09:14 2018 +0100 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Tue Jul 31 09:46:04 2018 +0200 |
tree | 1db4ca3b8f6d6e72a03ff1a1143afdfd737cbeec | |
parent | 962c35ef1e68346ae9c9691e14670f0ee96dcdbd [diff] |
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: Miquel Raynal <miquel.raynal@bootlin.com>