Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mtd: nand: fix tmio_nand ecc correction
This driver may be reading 512 bytes at a times, but still calculates 256-byte sector ECC. So the nand_correct_data() is not appropriate for this driver. Implement its ecc.correct function calling __nand_correct_data() twice. Signed-off-by: Atsushi Nemoto <[email protected]> Acked-by: Dmitry Eremin-Solenikov <[email protected]> Acked-by: Vimal Singh <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
- Loading branch information