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

    Semaphore sem_test_key_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