commit | 293c98f15d048148a0130da293cc855721dd4fd8 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Sat Oct 07 22:36:52 2017 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 08 10:08:35 2017 +0100 |
tree | 27c0c5cb58623660fdd390e45bff2ff6b3db1e16 | |
parent | ceec8374d790f55315deda0cd076b2a556a808c0 [diff] |
mtd: nand: sunxi: Fix the non-polling case in sunxi_nfc_wait_events() [ Upstream commit 19649e2c16fbc94b664f7074ec4fa9f15292fdce ] 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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>