Commit 19649e2c authored by Boris Brezillon's avatar Boris Brezillon
Browse files

mtd: nand: sunxi: Fix the non-polling case in sunxi_nfc_wait_events()



wait_for_completion_timeout() returns 0 if a timeout occurred, 1
otherwise. Fix the sunxi_nfc_wait_events() accordingly.

Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent 65644147
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment