]> git.karo-electronics.de Git - linux-beck.git/commit
staging: wilc1000: replace semaphore sem_inactive_time with a completion
authorAlison Schofield <amsfield22@gmail.com>
Mon, 14 Mar 2016 17:34:14 +0000 (10:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commite0c1496fcf6a1bbc9b827e763f58535585b249d5
treefd262f6c2226cfe8d3f692097af3942696b1f218
parent1b7c69e84bcea7a8054b44e6671e7b9ad758c2d8
staging: wilc1000: replace semaphore sem_inactive_time with a completion

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