OSDN Git Service

mtd: nand: denali: remove unneeded init of ECC_ENABLE register
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 22 Sep 2017 03:46:47 +0000 (12:46 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 22 Sep 2017 07:04:36 +0000 (09:04 +0200)
commitc70b5eb20a5dd9b3e4f68e041ad7526c94a2945e
treea4aaa14b8aca45c7016c051d37bede4c803684e7
parent5f2baae00542b2203e6d0fa77890f64ff741aaf3
mtd: nand: denali: remove unneeded init of ECC_ENABLE register

The ECC correction is properly enabled/disabled before the page
read/write.  There is no need to set up this at the beginning of
the probe.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/denali.c