]> Pileus Git - ~andy/linux/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, 3 Jan 2014 19:22:10 +0000 (11:22 -0800)
commit4e86fd22af2c930e741536e8637bca9355fa8bb5
tree45bfab0095ad76aa042b7fcc1a026f98eddc8b86
parent664c7f5e81df12b5cac873a25fa9ac9cc90c13c3
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