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)
commitafca11ec13066d53c7b21fdd02dff2662a86eef5
tree6d448f1c36272373a6cdc9a536ce018011097da0
parent818a45b1d7fbd8c55a4248fe6cd0995e06db04be
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