mxc_nand: fix correct_data function
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 6 Aug 2010 13:53:09 +0000 (15:53 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 6 Aug 2010 15:37:58 +0000 (16:37 +0100)
The v2 controller has a totally different mechanism to check
whether the data we read had ecc errors or not. Implement this.
The mechanism in the v2 controller happens to be identical to
the v3 controller.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/mxc_nand.c

Simple merge