mtd: nand: sunxi: improve ->cmd_ctrl() function
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 16 Sep 2015 07:05:31 +0000 (09:05 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:05:40 +0000 (22:05 +0200)
commite9aa671f69acb87db4835e4f0b41f5fa16d16562
treee40deb22652a11042833119430f29f7f000ff73d
parentfe82ccefc992b255c35e0e56d6aded2ce090e9af
mtd: nand: sunxi: improve ->cmd_ctrl() function

Try to pack address and command cycles into a single NAND controller
command to avoid polling the status register for each single change
on the NAND bus.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/sunxi_nand.c