]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: pxa3xx: Switch FIFO draining to jiffies-based timeout
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 7 Apr 2015 13:32:45 +0000 (15:32 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 May 2015 07:04:27 +0000 (00:04 -0700)
commit25008945e5ef0db6f400791a61c7e0801bc49567
tree6d448f1c36272373a6cdc9a536ce018011097da0
parent03b09fa29aaac835c84818875df1d5df9c1a85bb
mtd: nand: pxa3xx: Switch FIFO draining to jiffies-based timeout

Now that the driver handles the FIFO draining in a threaded interrupt, we can
base our timeout on jiffies and sleeping, instead of using mdelay.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c