NAND: Update check condition for nand_read_page_hwecc API
authorSandeep Paulraj <s-paulraj@ti.com>
Sat, 7 Nov 2009 19:25:03 +0000 (14:25 -0500)
committerScott Wood <scottwood@freescale.com>
Fri, 13 Nov 2009 22:56:16 +0000 (16:56 -0600)
commit18b5a4b43af3c8359cb568f4fa32d6b9dcebbf26
tree04de921d50251ea4fbc1ef88180f7f7aec4a3c61
parente25ee0396226fb56679702d0361cf2645504e7f6
NAND: Update check condition for nand_read_page_hwecc API

The patch updates the check condition for determining
whether the ECC corrections has failed.
This makes it similar to what is in the kernel NAND driver.

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
drivers/mtd/nand/nand_base.c