Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 320092a0 authored by Boris Brezillon's avatar Boris Brezillon Committed by Brian Norris
Browse files

mtd: nand: denali: add missing nand_release() call in denali_remove()



Unregister the NAND device from the NAND subsystem when removing a denali
NAND controller, otherwise the MTD attached to the NAND device is still
exposed by the MTD layer, and accesses to this device will likely crash
the system.

Fixes: 2a0a288e ("mtd: denali: split the generic driver and PCI layer")
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: default avatarDinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 207f6582
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