[PATCH] mtd: rawnand: arasan: Fix missing de-registration of NAND chip-selects

Miquel Raynal miquel.raynal at bootlin.com
Mon Dec 2 05:46:14 PST 2024


Hi Maciej,

On 02/12/2024 at 14:25:59 +01, Maciej Andrzejewski <maciej.andrzejewski at m-works.net> wrote:

> 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.

Good point!

> Fixes: 197b88fecc50ee3c7a22415db81eae0b9126f20e ("mtd: rawnand: arasan: Add new Arasan NAND controller")

This should be a 12-digit sha only. FYI in my .gitconfig I have the
following alias:

     fixes = show -s --format='Fixes: %h (\"%s\")'

It was correct in your previous patch :)

> Cc: stable at vger.kernel.org
> Signed-off-by: Maciej Andrzejewski ICEYE <maciej.andrzejewski at m-works.net>

Otherwise looks good to me!

Thanks,
Miquèl



More information about the linux-mtd mailing list