mtd: gpmi: Always report ECC stats and return max_bitflips
authorZach Sadecki <zsadecki@itwatchdogs.com>
Fri, 14 Dec 2012 02:36:29 +0000 (20:36 -0600)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 4 Feb 2013 07:26:28 +0000 (09:26 +0200)
commitb23b746cdcb0792b1268bc338acf29ec27739527
treee8cf39524350843987c9dae82d1f7db8c2d7ac1e
parente830342ef389b46160f223e6882b1e85bd7de708
mtd: gpmi: Always report ECC stats and return max_bitflips

Always report corrected and failed ECC stats back up to the MTD layer.  Also
return max_bitflips from read_page() as is expected from NAND drivers now.

Signed-off-by: Zach Sadecki <zsadecki@itwatchdogs.com>
Acked-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/gpmi-nand/gpmi-nand.c