kernel: mtk_bmt: skip bitflip check if threshold isn't set
authorChuanhong Guo <gch981213@gmail.com>
Thu, 7 Apr 2022 01:56:02 +0000 (09:56 +0800)
committerFelix Fietkau <nbd@nbd.name>
Mon, 10 Oct 2022 10:58:41 +0000 (12:58 +0200)
commit329b1543f3902885488c85ce3c679b0028992b47
treeadaa9a03997a4c5a9964665624ea2928155ac64a
parent42c8610efc56333be3cb829799d00b7bd684b82c
kernel: mtk_bmt: skip bitflip check if threshold isn't set

kernel spi-nand driver leaves this field empty and let mtd set it later.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
(cherry-picked from commit 6fa50e26e7c1221085d8e71cde7e9148c540c752)
target/linux/generic/files/drivers/mtd/nand/mtk_bmt.c