diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-19 15:00:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-22 09:33:10 +0200 |
commit | e765438981f9ca286b31892e5f7d35700c7a9f0a (patch) | |
tree | 6a28886e7c1d67ecfd8e7a84e3809fdfd9e8c251 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8837f03001de875b0eb6d180a726ac92da6a562e (diff) |
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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions