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 -- To unsubscribe from this list: send the line "unsubscribe linux-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html