kernel: mtk_bmt: skip bitflip check if threshold isn't set
authorChuanhong Guo <[email protected]>
Thu, 7 Apr 2022 01:56:02 +0000 (09:56 +0800)
committerChuanhong Guo <[email protected]>
Sat, 9 Apr 2022 12:31:10 +0000 (20:31 +0800)
commitcccca65b31ea04262f5a40aa882fb8c3cff435f3
tree37e3b88b514e0ba943b3108dd5d5a56a1385d1f6
parent56c5fec7c8ec7f42700f70f7b827fbe966e84c40
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 <[email protected]>
target/linux/generic/files/drivers/mtd/nand/mtk_bmt.c