ramips: fix NAND flash driver ECC bit position mask
authorFelix Fietkau <nbd@nbd.name>
Wed, 16 Feb 2022 20:25:13 +0000 (21:25 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 16 Feb 2022 20:26:27 +0000 (21:26 +0100)
commit918d4ab41ea34358c747aab5471bbb0a2a786dd8
treebf66df76f04aabc52df14a64013943927d3f1c9c
parentdabc78b644c0fb8f17ff5456f6cb92e78b53f248
ramips: fix NAND flash driver ECC bit position mask

The bit position mask was accidentally made too wide, overlapping with the LSB
from the byte position mask. This caused ECC calculation to fail for odd bytes

Signed-off-by: Chad Monroe <chad.monroe@smartrg.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/ramips/patches-5.10/410-mtd-rawnand-add-driver-support-for-MT7621-nand-flash.patch