commit | 3d84515ffd8fb657e10fa5b1215e9f095fa7efca | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Tue May 19 15:00:26 2020 +0200 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Sun May 31 10:53:36 2020 +0200 |
tree | 03b963c2c754ace687e1796855bf80f942d550e4 | |
parent | 24acc3fa8b36f998b355bb7e337361f4e76160fb [diff] |
mtd: rawnand: sunxi: Fix the probe error path nand_release() is supposed be called after MTD device registration. Here, only nand_scan() happened, so use nand_cleanup() instead. Fixes: 1fef62c1423b ("mtd: nand: add sunxi NAND flash controller support") Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/linux-mtd/20200519130035.1883-54-miquel.raynal@bootlin.com