android_kernel_motorola_sm6375/drivers/mtd
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Wentao Liang b7c45dd0b1 mtd: rawnand: Add status chack in r852_ready()
commit b79fe1829975556854665258cf4d2476784a89db upstream.

In r852_ready(), the dev get from r852_get_dev() need to be checked.
An unstable device should not be ready. A proper implementation can
be found in r852_read_byte(). Add a status check and return 0 when it is
unstable.

Fixes: 50a487e771 ("mtd: rawnand: Pass a nand_chip object to chip->dev_ready()")
Cc: stable@vger.kernel.org # v4.20+
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-05-02 07:39:16 +02:00
..
chips
devices mtd: powernv: Add check devm_kasprintf() returned value 2024-11-08 16:20:28 +01:00
hyperbus
lpddr
maps mtd: maps: physmap-core: fix flash size larger than 32-bit 2024-03-26 18:22:21 -04:00
nand mtd: rawnand: Add status chack in r852_ready() 2025-05-02 07:39:16 +02:00
parsers mtd: partitions: redboot: Added conversion of operands to a larger type 2024-07-05 09:08:27 +02:00
spi-nor
tests mtd: make mtd_test.c a separate module 2024-08-19 05:33:33 +02:00
ubi ubi: fastmap: Fix duplicate slab cache names while attaching 2024-12-14 19:44:40 +01:00
ftl.c
inftlcore.c mtd: inftlcore: Add error check for inftl_read_oob() 2025-05-02 07:39:16 +02:00
inftlmount.c
Kconfig
Makefile
mtd_blkdevs.c mtd: Fix gluebi NULL pointer dereference caused by ftl notifier 2024-01-25 14:34:23 -08:00
mtdblock.c
mtdblock_ro.c
mtdchar.c
mtdconcat.c
mtdcore.c
mtdcore.h
mtdoops.c
mtdpart.c
mtdsuper.c
mtdswap.c
nftlcore.c
nftlmount.c
rfd_ftl.c
sm_ftl.c
sm_ftl.h
ssfdc.c