commit | cad32741218299eee3f75de21ac9ccab8485bd62 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Fri Jan 06 10:42:07 2017 +0100 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Mon Feb 06 09:35:19 2017 +0100 |
tree | 3a3dae165a09485be7686cd88e10e9d0df7c0144 | |
parent | 8de15e1feb232086d1d14e01a6a7648d10002c19 [diff] |
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>