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)
committerChuanhong Guo <gch981213@gmail.com>
Sat, 9 Apr 2022 13:08:26 +0000 (21:08 +0800)
commit6fa50e26e7c1221085d8e71cde7e9148c540c752
treeccdcce2086583ae17da42098b602f5e7ed45e4ea
parent55be011a71a4499311e1b64a6c8797d32c949b9e
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>
target/linux/generic/files/drivers/mtd/nand/mtk_bmt.c