diff options
author | Boris Brezillon <bbrezillon@kernel.org> | 2019-01-24 15:46:54 +0100 |
---|---|---|
committer | Boris Brezillon <bbrezillon@kernel.org> | 2019-01-31 12:31:02 +0100 |
commit | c3c7dbf4887ab3ed9d611cd1f6e16937f8700743 (patch) | |
tree | 832abc4edd02f2bca1ec58e15933b7adb0b13f8c /arch/xtensa/Makefile | |
parent | mtd: spinand: Handle the case where PROGRAM LOAD does not reset the cache (diff) | |
download | linux-c3c7dbf4887ab3ed9d611cd1f6e16937f8700743.tar.xz linux-c3c7dbf4887ab3ed9d611cd1f6e16937f8700743.zip |
mtd: spinand: Fix the error/cleanup path in spinand_init()
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>
Diffstat (limited to 'arch/xtensa/Makefile')
0 files changed, 0 insertions, 0 deletions