diff options
author | Wu, Josh <Josh.wu@atmel.com> | 2015-01-14 11:50:46 +0800 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-01-20 12:42:33 -0800 |
commit | 267d46e635c575e9c8b2932d9617266e6e67ee99 (patch) | |
tree | 7acf1da8a55f2285f5bd85d785fbfb6cccd55306 /Documentation/devicetree/bindings/interrupt-controller/snps,dw-apb-ictl.txt | |
parent | cfe4af3aac3bd63e9caf548157805ca46ad7b073 (diff) | |
download | blackbird-op-linux-267d46e635c575e9c8b2932d9617266e6e67ee99.tar.gz blackbird-op-linux-267d46e635c575e9c8b2932d9617266e6e67ee99.zip |
mtd: atmel_nand: return max bitflips in all sectors in pmecc_correction()
atmel_nand_pmecc_read_page() will return the total bitflips in this
page. This is incorrect.
As one nand page includes multiple ecc sectors, that will cause the
returned total bitflips exceed ecc capablity.
So this patch will make pmecc_correct() return the max bitflips of all
sectors in the page. That also makes atmel_nand_pmecc_read_page() return
the max bitflips.
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/interrupt-controller/snps,dw-apb-ictl.txt')
0 files changed, 0 insertions, 0 deletions