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 f183ce35b8ea2fd991ac489fb223b09a1ecb4db0)
2023-01-25 23:45:14 +08:00
..
2022-12-26 17:25:09 +01:00
2022-09-17 15:58:25 +02:00
2022-08-28 07:24:59 +02:00
2022-08-28 07:24:59 +02:00
2022-12-06 23:27:06 +01:00
2022-03-11 00:04:05 +01:00
2022-12-15 01:26:25 +01:00
2022-12-15 01:26:25 +01:00
2022-11-01 13:56:10 +01:00
2022-08-28 07:24:59 +02:00
2022-11-01 13:56:10 +01:00
2022-11-11 16:25:29 +02:00
2022-12-15 01:26:25 +01:00
2022-12-15 01:26:25 +01:00
2022-07-30 17:21:47 +02:00
2023-01-03 01:24:21 +01:00
2022-11-27 15:43:08 +01:00