On Thu, 2019-01-24 at 14:46:54 UTC, Boris Brezillon wrote:
The manufacturer specific initialization has already been done when block unlocking takes place, and if anything goes wrong during this procedure we should call spinand_manufacturer_cleanup().
Fixes: 7529df465248 ("mtd: nand: Add core infrastructure to support SPI NANDs") Cc: stable@vger.kernel.org Signed-off-by: Boris Brezillon bbrezillon@kernel.org Acked-by: Miquel Raynal miquel.raynal@bootlin.com
Applied to http://git.infradead.org/linux-mtd.git mtd/fixes.
Boris