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: NBoris Brezillon <boris.brezillon@bootlin.com> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com>
Showing
想要评论请 注册 或 登录