mtd mxc nand: Fix ECC state after read_page_raw_syndrome()
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Mon, 13 Aug 2012 20:50:19 +0000 (22:50 +0200)
committerScott Wood <scottwood@freescale.com>
Tue, 18 Sep 2012 00:51:45 +0000 (19:51 -0500)
commit7c28a1cfdf5e919f2a09abb644f614f1b67d3322
tree0fa9526f5524c3a0ab3c9481d261e66f4456e44f
parent0e499b07ef417b153e3feb54c249d56edbc364b4
mtd mxc nand: Fix ECC state after read_page_raw_syndrome()

mxc_nand_read_page_raw_syndrome() should reenable ECC upon exit. This fixes ECC
errors left uncorrected after a call to this function.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/mxc_nand.c