summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/raw/mpc5121_nfc.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-07-27 09:44:18 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-09-04 22:50:49 +0200
commit52f05b6b87decfc74245ac16b4ae18e321b5ae98 (patch)
tree3762211b251c5628575c29247851452800622f08 /drivers/mtd/nand/raw/mpc5121_nfc.c
parentmtd: rawnand: Add the nand_wait_readrdy() helper and use it (diff)
downloadlinux-52f05b6b87decfc74245ac16b4ae18e321b5ae98.tar.xz
linux-52f05b6b87decfc74245ac16b4ae18e321b5ae98.zip
mtd: rawnand: Add the nand_wait_rdy_op() helper and use it
In order to make sure we use ->exec_op() to wait for chip readiness when it's available we provide an helper that does the selection between ->exec_op(), udelay(chip->chip_delay) and nand_wait_ready() based on what's implemented by the controller driver. We then use it in nand_wait_readrdy(). Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/mpc5121_nfc.c')
0 files changed, 0 insertions, 0 deletions