commit | ef422e1ecd272d077efce64432907632758cf2e2 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@bootlin.com> | Wed Jul 18 10:42:20 2018 +0200 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Thu Jul 19 23:15:04 2018 +0200 |
tree | cccfe0f885d56d56252d442f5216004333c23318 | |
parent | 2301780711efc514a8bb183e853bda8decce746a [diff] |
mtd: rawnand: micron: Avoid enabling/disabling ECC when it can't be disabled Some chips have their on-die ECC forcibly enabled, there's no point in trying to enable/disable the ECC engine in that case. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>