kernel: mtk_bmt: fix block copying on remap with bmt v2
authorFelix Fietkau <[email protected]>
Wed, 9 Mar 2022 15:04:39 +0000 (16:04 +0100)
committerFelix Fietkau <[email protected]>
Fri, 25 Mar 2022 20:11:09 +0000 (21:11 +0100)
commit7d1e2be1605eda85e1a607a3d3ddefed1b961d3d
tree4c79ae3304f891f183f2b0b52e9a3469899fd01b
parentb4c7f8c5f7a2dab76fe90849e112c6bd8f80ab19
kernel: mtk_bmt: fix block copying on remap with bmt v2

Copy from the previously mapped block (in case it was remapped already)

Signed-off-by: Felix Fietkau <[email protected]>
target/linux/generic/files/drivers/mtd/nand/mtk_bmt_v2.c