From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750905AbcFBEY1 (ORCPT ); Thu, 2 Jun 2016 00:24:27 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:34996 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750731AbcFBEYZ (ORCPT ); Thu, 2 Jun 2016 00:24:25 -0400 From: Binoy Jayan To: Greg Kroah-Hartman , Larry Finger , Florian Schilhabel Cc: Arnd Bergmann , driverdev-devel@linuxdriverproject.org, linux-kernel@vger.kernel.org, Binoy Jayan Subject: [PATCH v2 0/4] *** rtl8712: Replace semaphores with mutex / completions *** Date: Thu, 2 Jun 2016 09:54:06 +0530 Message-Id: <1464841450-24772-1-git-send-email-binoy.jayan@linaro.org> X-Mailer: git-send-email 1.8.2.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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