staging: wilc1000: replace sem_test_disconn_block with a completion
authorAlison Schofield <amsfield22@gmail.com>
Mon, 14 Mar 2016 17:35:05 +0000 (10:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commit96adbd276e7194320f08fd7f00c4a1be2d910d11
treefa3788b68c150e7c52ee680fffd39e5d8e9af097
parent7c8a3dcac82f11681e3e6ad61fb2e5802a136c24
staging: wilc1000: replace sem_test_disconn_block with a completion

Semaphore sem_test_disconn_block is used to signal completion of its
host interface message. Since the thread locking this semaphore will
have to wait, completions are the preferred mechanism and will offer
a performance improvement.

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h