mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 12:00:22 +09:00
commit0a5f45e57eupstream. oxnans_nand_remove() should release all MTD devices and clean all NAND devices, not only the first one registered. Fixes:6685924924("mtd: nand: Add OX820 NAND Support") Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20200519130035.1883-39-miquel.raynal@bootlin.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>