Skip to content
Commit 76015c77 authored by Miquel Raynal's avatar Miquel Raynal Committed by Paul Gortmaker
Browse files

mtd: rawnand: marvell: Fix probe error path



commit c525b7af upstream.

Ensure all chips are deregistered and cleaned in case of error during
the probe.

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


Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 5860c767
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment