android_kernel_sony_sdm845/drivers/mtd
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Miquel Raynal b17fd5fbdd mtd: rawnand: tmio: Fix the probe error path
[ Upstream commit 75e9a330a9bd48f97a55a08000236084fe3dae56 ]

nand_release() is supposed be called after MTD device registration.
Here, only nand_scan() happened, so use nand_cleanup() instead.

There is no real Fixes tag applying here as the use of nand_release()
in this driver predates by far the introduction of nand_cleanup() in
commit d44154f969 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
which makes this change possible. However, pointing this commit as the
culprit for backporting purposes makes sense even if this commit is not
introducing any bug.

Fixes: d44154f969 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/linux-mtd/20200519130035.1883-57-miquel.raynal@bootlin.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-30 15:38:37 -04:00
..
chips mtd: cfi: fix deadloop in cfi_cmdset_0002.c do_write_buffer 2020-05-02 17:23:15 +02:00
devices mtd: phram: fix a double free issue in error path 2020-04-24 07:59:15 +02:00
lpddr mtd: lpddr: Fix a double free in probe() 2020-04-24 07:59:15 +02:00
maps mtd: physmap_of: Release resources on error 2019-11-25 09:53:31 +01:00
nand mtd: rawnand: tmio: Fix the probe error path 2020-06-30 15:38:37 -04:00
onenand
spi-nor mtd: spi-nor: fix silent truncation in spi_nor_read() 2020-01-23 08:19:36 +01:00
tests mtd: mtd_oobtest: Handle bitflips during reads 2018-04-13 19:48:31 +02:00
ubi ubi: Fix an error pointer dereference in error handling code 2020-02-14 16:31:06 -05:00
afs.c
ar7part.c
bcm47xxpart.c
bcm63xxpart.c
cmdlinepart.c
ftl.c
inftlcore.c
inftlmount.c
Kconfig
Makefile
mtd_blkdevs.c
mtdblock.c
mtdblock_ro.c
mtdchar.c mtdchar: fix overflows in adjustment of count 2018-09-26 08:36:37 +02:00
mtdconcat.c
mtdcore.c
mtdcore.h mtd: Check add_mtd_device() ret code 2019-12-05 15:35:06 +01:00
mtdoops.c
mtdpart.c mtd: Remove a debug trace in mtdpart.c 2019-12-05 15:35:18 +01:00
mtdsuper.c
mtdswap.c
nftlcore.c
nftlmount.c
ofpart.c
redboot.c
rfd_ftl.c
sm_ftl.c
sm_ftl.h
ssfdc.c