Skip to content
Commit cad32741 authored by Boris Brezillon's avatar Boris Brezillon
Browse files

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: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent 8de15e1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment