mtd: nand: denali: remove meaningless writes to read-only registers
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 22 Mar 2017 20:07:23 +0000 (05:07 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 28 Mar 2017 12:24:44 +0000 (14:24 +0200)
commit6652ef88c4a7036e8f5e900f47a4daf2a9ba30c8
treeff58cf9a145ba587b6b0ee42b0c06ab99fb96a63
parentcc5d8031f8c7b11c325a37118f9aa6133f0b28a0
mtd: nand: denali: remove meaningless writes to read-only registers

The write accesses to LOGICAL_PAGE_{DATA,SPARE}_SIZE have no effect
because the Denali User's Guide says these registers are read-only.

The hardware automatically multiplies the main/spare size by the
number of devices and update LOGICAL_PAGE_{DATA,SPARE}_SIZE.

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