nand: arasan_nfc: Clear ecc on bit while sending read command
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 25 Aug 2016 10:30:04 +0000 (16:00 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 15 Nov 2016 14:27:57 +0000 (15:27 +0100)
commit02bcff2c56ed1528c01bf718892e0b4dc37dfacc
treec689ca0a73ddaeda834e5d44cef02bd9db3eb35f
parentcde28c815581d5b1086ef1e84613367ae96df085
nand: arasan_nfc: Clear ecc on bit while sending read command

Clear ecc ON bit while sending read command as all types
of read command(like reading spare) doesnt need ECC to be
enabled. It has been anyway taken care in other places
whereever required using arasan_nand_enable_ecc().

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mtd/nand/arasan_nfc.c