diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-01-06 10:42:07 +0100 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-02-06 09:35:19 +0100 |
commit | cad32741218299eee3f75de21ac9ccab8485bd62 (patch) | |
tree | 3a3dae165a09485be7686cd88e10e9d0df7c0144 /drivers/cpufreq/speedstep-smi.c | |
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>
Diffstat (limited to 'drivers/cpufreq/speedstep-smi.c')
0 files changed, 0 insertions, 0 deletions