On Tue, 2020-05-19 at 13:00:26 UTC, Miquel Raynal wrote: > 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@xxxxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next. Miquel