Home
last modified time | relevance | path

Searched hist:"7 a0c18fb" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/mtd/nand/raw/
H A Dmarvell_nand.c7a0c18fb Fri Apr 24 11:44:58 CDT 2020 Miquel Raynal <miquel.raynal@bootlin.com> mtd: rawnand: marvell: Use nand_cleanup() when the device is not yet registered

Do not call nand_release() while the MTD device has not been
registered, use nand_cleanup() instead.

Fixes: 02f26ecf8c77 ("mtd: nand: add reworked Marvell NAND controller driver")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200424164501.26719-4-miquel.raynal@bootlin.com
7a0c18fb Fri Apr 24 11:44:58 CDT 2020 Miquel Raynal <miquel.raynal@bootlin.com> mtd: rawnand: marvell: Use nand_cleanup() when the device is not yet registered

Do not call nand_release() while the MTD device has not been
registered, use nand_cleanup() instead.

Fixes: 02f26ecf8c77 ("mtd: nand: add reworked Marvell NAND controller driver")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200424164501.26719-4-miquel.raynal@bootlin.com