summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2017-01-06 10:42:07 +0100
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-02-06 09:35:19 +0100
commitcad32741218299eee3f75de21ac9ccab8485bd62 (patch)
tree3a3dae165a09485be7686cd88e10e9d0df7c0144 /include/linux/mtd
parent8de15e1feb232086d1d14e01a6a7648d10002c19 (diff)
downloadop-kernel-dev-cad32741218299eee3f75de21ac9ccab8485bd62.zip
op-kernel-dev-cad32741218299eee3f75de21ac9ccab8485bd62.tar.gz
mtd: nand: sunxi: Improve sunxi_nfc_cmd_ctrl()
We only need to call sunxi_nfc_wait_cmd_fifo_empty() if we want to send a new command. Move the sunxi_nfc_wait_cmd_fifo_empty() call to right place to avoid extra register reads. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'include/linux/mtd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud