commit | 19649e2c16fbc94b664f7074ec4fa9f15292fdce | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Fri Jan 06 10:42:05 2017 +0100 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Mon Feb 06 09:35:14 2017 +0100 |
tree | 426371000f0207a667be3fccfaac9f0cb1e14435 | |
parent | 656441478ed55d960df5f3ccdf5a0f8c61dfd0b3 [diff] |
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: Boris Brezillon <boris.brezillon@free-electrons.com>