openwrt/target/linux/generic/files/drivers/mtd/nand
Chuanhong Guo 1f32774ded
kernel: mtk-bmt: fix usage of _oob_read
_oob_read returns number of bitflips on success while
bbt_nand_read should return 0.

Fixes: 2d49e49b18 ("mediatek: bmt: use generic mtd api")
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
(cherry picked from commit f183ce35b8)
2023-01-25 23:45:14 +08:00
..
mtk_bmt_bbt.c kernel: mtk_bmt: on error, do not attempt to remap out-of-range blocks 2022-10-10 12:58:25 +02:00
mtk_bmt_nmbm.c kernel: add support for mediatek NMBM flash mapping support 2022-10-10 12:58:29 +02:00
mtk_bmt_v2.c kernel: mtk_bmt: fix block copying on remap with bmt v2 2022-10-10 12:58:22 +02:00
mtk_bmt.c kernel: mtk_bmt: skip bitflip check if threshold isn't set 2022-10-10 12:58:41 +02:00
mtk_bmt.h kernel: mtk-bmt: fix usage of _oob_read 2023-01-25 23:45:14 +08:00