summaryrefslogtreecommitdiff
path: root/drivers/staging/android
diff options
context:
space:
mode:
authorBinoy Jayan <binoy.jayan@linaro.org>2016-06-15 11:00:37 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-25 14:39:53 -0700
commit04247e7d65c9ce80a7d19aae2fd7cdf64ce80800 (patch)
tree3f40254e956e98439e0e41f6b254a53e1092d753 /drivers/staging/android
parentfa6596982f00e7c341c95174de2275062f14e3fa (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>
Diffstat (limited to 'drivers/staging/android')
0 files changed, 0 insertions, 0 deletions