[PATCH v2 0/4] *** rtl8712: Replace semaphores with mutex / completions ***
From: Binoy Jayan
Date: Thu Jun 02 2016 - 00:24:40 EST
Hi,
These are a set of patches [v2] which removes semaphores from:
drivers/staging/rtl8712
They build correctly (individually and as a whole).
NB: I have not tested this as I do not have the following hardware:
"RealTek RTL8712U (RTL8192SU) Wireless LAN NIC driver"
Rework on comments w.r.t. PATCH v1:
- Removed wrapper functions _wait_completion, _down_sema and _enter_pwrlock
- Updated changelog to explain use of mutex_lock instead of
mutex_lock_interruptible in [PATCH v2 4/4]
Binoy
Binoy Jayan (4):
rtl8712: Replace semaphore cmd_queue_sema with completion
rtl8712: Replace semaphore terminate_cmdthread_sema with completion
rtl8712: intf_priv: Replace semaphore lock with completion
rtl8712: pwrctrl_priv: Replace semaphore lock with mutex
drivers/staging/rtl8712/os_intfs.c | 4 ++--
drivers/staging/rtl8712/osdep_intf.h | 2 +-
drivers/staging/rtl8712/osdep_service.h | 7 -------
drivers/staging/rtl8712/rtl8712_cmd.c | 14 +++++++-------
drivers/staging/rtl8712/rtl871x_cmd.c | 8 ++++----
drivers/staging/rtl8712/rtl871x_cmd.h | 4 ++--
drivers/staging/rtl8712/rtl871x_pwrctrl.c | 24 ++++++++++++------------
drivers/staging/rtl8712/rtl871x_pwrctrl.h | 7 +------
drivers/staging/rtl8712/usb_ops_linux.c | 6 +++---
9 files changed, 32 insertions(+), 44 deletions(-)
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project