mtd: OneNAND: initialize mtd->writebufsize to let UBI work
authorLadislav Michl <ladis@linux-mips.org>
Tue, 12 Jul 2016 18:28:21 +0000 (20:28 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 22 Jul 2016 18:46:12 +0000 (14:46 -0400)
commit52486927e7f0c9ea2c5af32cc21496c908cae661
treebd8b5e8ab9b447c104c4809aa119a30413492c96
parent77b93e5e9b28328f76556e0c0b94889df47077d7
mtd: OneNAND: initialize mtd->writebufsize to let UBI work

io_init checks this value and fails with "bad write buffer size 0 for
2048 min. I/O unit"

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
drivers/mtd/onenand/onenand_base.c