From: Bjorn Andersson Subject: [PATCH v3 0/5] Qualcomm SMD multi-channel client support Date: Wed, 17 Feb 2016 22:39:01 -0800 Message-ID: <1455777546-19280-1-git-send-email-bjorn.andersson@linaro.org> Return-path: Received: from mail-pf0-f174.google.com ([209.85.192.174]:33104 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1425154AbcBRGjI (ORCPT ); Thu, 18 Feb 2016 01:39:08 -0500 Received: by mail-pf0-f174.google.com with SMTP id q63so25744332pfb.0 for ; Wed, 17 Feb 2016 22:39:08 -0800 (PST) Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Andy Gross , David Brown Cc: Srinivas Kandagatla , Fengwei Yin , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org After trying to avoid implementing multi-channel support in SMD in v1 of the HCI driver for Qualcomm WCNSS BT, this new version includes the necessary SMD refactoring and additon of an API that allows SMD devices to call back into the SMD core to acquire additonal channels. The additional channels are tied to the existing SMD device and the life cycle of the new channel will be tied to, and affect, the original channel. Changes since v2: - rwlock is replaced by spinlock - smarter kicking of the two workers Bjorn Andersson (5): soc: qcom: smd: Introduce callback setter soc: qcom: smd: Split discovery and state change work soc: qcom: smd: Refactor channel open and close handling soc: qcom: smd: Support multiple channels per sdev soc: qcom: smd: Support opening additional channels drivers/soc/qcom/smd.c | 229 ++++++++++++++++++++++++++++++++----------- include/linux/soc/qcom/smd.h | 8 +- 2 files changed, 179 insertions(+), 58 deletions(-) -- 2.5.0