Commit 4f8a5074 authored by Maciej Andrzejewski's avatar Maciej Andrzejewski Committed by Greg Kroah-Hartman
Browse files

mtd: rawnand: arasan: Fix missing de-registration of NAND



commit 11e6831f upstream.

The NAND chip-selects are registered for the Arasan driver during
initialization but are not de-registered when the driver is unloaded. As a
result, if the driver is loaded again, the chip-selects remain registered
and busy, making them unavailable for use.

Fixes: 197b88fe ("mtd: rawnand: arasan: Add new Arasan NAND controller")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarMaciej Andrzejewski ICEYE <maciej.andrzejewski@m-works.net>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 326d7fb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment