mtd: nand: sunxi: Stop using polling mode when waiting for long operations

Some operations, like read/write an entire page of data with the ECC
engine enabled, are known to take a lot of time. Use the interrupt-based
waiting mode in these situation.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
This commit is contained in:
Boris Brezillon 2017-01-06 10:42:06 +01:00
commit 8de15e1feb