commit | 04247e7d65c9ce80a7d19aae2fd7cdf64ce80800 | [log] [tgz] |
---|---|---|
author | Binoy Jayan <binoy.jayan@linaro.org> | Wed Jun 15 11:00:37 2016 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jun 25 14:39:53 2016 -0700 |
tree | 3f40254e956e98439e0e41f6b254a53e1092d753 | |
parent | fa6596982f00e7c341c95174de2275062f14e3fa [diff] |
staging: wilc1000: Replace semaphore sync_event with completion The semaphore 'sync_event' is used as completion, so convert it to a struct completion type. Also, return -ETIME if the return value of wait_for_completion_timeout is 0. Signed-off-by: Binoy Jayan <binoy.jayan@linaro.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>