]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: nand: pxa3xx: read_page() returns max_bitflips
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Thu, 7 Nov 2013 15:17:13 +0000 (12:17 -0300)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 22 Nov 2013 22:12:51 +0000 (14:12 -0800)
commitc0780cc91ef6c9c4e83c8c7304c3093c05430f11
tree1092353bd08e28f8ae10b78923241ffc8ac0b165
parent918732ae5a26396ef0deaa7bce9722973a87d308
mtd: nand: pxa3xx: read_page() returns max_bitflips

As per the ecc.read_page() prototype, we must return the maximum number
of bitflips that were corrected on any one region covering an ecc step.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c