mtd: nand: omap: Switch to using GPMC-NAND ops for writebuffer empty check
authorRoger Quadros <rogerq@ti.com>
Wed, 5 Aug 2015 10:36:43 +0000 (13:36 +0300)
committerRoger Quadros <rogerq@ti.com>
Fri, 15 Apr 2016 08:53:20 +0000 (11:53 +0300)
commitd6e552168db59d627fd56074f2c588df1faf0c95
treeb1613d8ba94b30cea06943b0304ac0a39e5a4635
parentc509aefd75d026f4ef4aa306131d7a780c2eda7b
mtd: nand: omap: Switch to using GPMC-NAND ops for writebuffer empty check

Instead of accessing the gpmc_status register directly start
using the gpmc_nand_ops->nand_writebuffer_empty() helper
to check write buffer empty status.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Tony Lindgren <tony@atomide.com>
drivers/mtd/nand/omap2.c