nand/denali: Fixed handle ECC error bugs
commit8ae61ebddba8a0cf96f61e592acaa12800e50727
authorChuanxiao Dong <chuanxiao.dong@intel.com>
Mon, 9 Aug 2010 16:07:01 +0000 (10 00:07 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 10 Aug 2010 23:28:39 +0000 (11 00:28 +0100)
treef098bacb9c388ff44d6a9e62c4e87d72428ed65a
parent24c3fa36dedd12616c273bfa4adfed3bb652637f
nand/denali: Fixed handle ECC error bugs

Once the last ECC error was handled, controller will triger an
interrupt. If this interrupt can not be clean on time, controller
may corrupt.

Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/denali.c