diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-19 16:00:26 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-14 10:51:11 +0300 |
commit | 6e07e6e1d30522fe100bfc6987d76cfbf1271a39 (patch) | |
tree | eb899dd3110f7161f62f198ffbe1717e69d9ea50 /fs/btrfs | |
parent | 00bd93b3e4305b95dc76b5167b511e7742c4e556 (diff) | |
download | linux-6e07e6e1d30522fe100bfc6987d76cfbf1271a39.tar.xz |
mtd: rawnand: sunxi: Fix the probe error path
commit 3d84515ffd8fb657e10fa5b1215e9f095fa7efca upstream.
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
[iwamatsu: adjust filename]
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/btrfs')
0 files changed, 0 insertions, 0 deletions