]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: nand: sunxi: Stop using polling mode when waiting for long operations
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 6 Jan 2017 09:42:06 +0000 (10:42 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 6 Feb 2017 08:35:16 +0000 (09:35 +0100)
commit8de15e1feb232086d1d14e01a6a7648d10002c19
treea9e90c649c31ea29e1ea70aa16969cd6f1b2e4fa
parent19649e2c16fbc94b664f7074ec4fa9f15292fdce
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>
drivers/mtd/nand/sunxi_nand.c