Re: [PATCH] mtd: spinand: cleanup ECC engine when spinand_randomizer_init() fails
From: Miquel Raynal
Date: Thu Nov 19 2026 - 07:37:56 EST
On Thu, 19 Nov 2026 09:14:46 +0100, Gabor Juhos wrote:
> When the spinand_randomizer_init() fails, the code jumps to the
> 'err_cleanup_nanddev' label and the code leaves the ECC engine
> initialized.
>
> Change the respective goto statement to use the correct label which
> ensures that the ECC engine gets cleaned up correctly.
>
> [...]
Applied to nand/next, thanks!
[1/1] mtd: spinand: cleanup ECC engine when spinand_randomizer_init() fails
commit: 8af49d43433c305e0fa773ea705eeb7d08b6ceb6
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl