]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: use mutex instead of struct semaphore hif_sema_deinit
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 21 Mar 2016 23:39:24 +0000 (08:39 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commit0065d667288edeec2be8f06e17a686be3599be9c
tree646ba9513c6cfab593647690eeac26b77b023df6
parent5b0f4ce4d9a7fabc1997476f43dc52c5736db819
staging: wilc1000: use mutex instead of struct semaphore hif_sema_deinit

This patch replaces struct semaphore hif_sema_deinit with struct mutex
hif_deinit_lock. It is better to use mutex because mutex gives better
performance than semaphore.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c