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

mtd: rawnand: oxnas: Release all devices in the _remove() path

commit 0a5f45e5 upstream.

oxnans_nand_remove() should release all MTD devices and clean all NAND
devices, not only the first one registered.

Fixes: 66859249

 ("mtd: nand: Add OX820 NAND Support")
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200519130035.1883-39-miquel.raynal@bootlin.com
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 2f0834d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment