OSDN Git Service

mtd: rawnand: fsmc: Disable NAND on remove()
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 26 Jan 2019 13:10:56 +0000 (14:10 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 5 Feb 2019 15:56:12 +0000 (16:56 +0100)
commitab3ab7b654ae69a9c5c259ecd281543c6234437f
tree81c685adb3c17c837fde36f92fc9bc3b5d4e55f6
parent30c72ab142a2d1a49d5fbd4014864cec07cd7a65
mtd: rawnand: fsmc: Disable NAND on remove()

This disables the NAND on remove() and the errorpath,
making sure the chipselect gets deasserted when the
NAND is not in use.

Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/fsmc_nand.c