[PATCH 5/6] mtd: rawnand: sunxi: make the code mode self-explanatory

Jernej Škrabec jernej.skrabec at gmail.com
Sat Feb 21 01:33:01 PST 2026


Dne petek, 20. februar 2026 ob 17:10:10 Srednjeevropski standardni čas je Richard Genoud napisal(a):
> In sunxi_nfc_hw_ecc_{read,write}_chunk(), the ECC step was force to 0,
> the reason is not trivial to get when reading the code.
> 
> The explanation is that, from the NAND flash controller perspective, we
> are indeed at step 0 for user data length and ECC errors.
> 
> Just add a const value with an explanation to clarify things.
> 
> Signed-off-by: Richard Genoud <richard.genoud at bootlin.com>

Acked-by: Jernej Skrabec <jernej.skrabec at gmail.com>

Best regards,
Jernej





More information about the linux-arm-kernel mailing list