diff options
author | Bjorn Andersson <bjorn.andersson@sonymobile.com> | 2016-02-17 22:39:06 -0800 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-03-30 17:21:12 -0500 |
commit | 028021d29ea069390e1f60c6aa5b3511d218454b (patch) | |
tree | f110524d269f059264b93a64b9f7223727a61461 /include/linux/soc/qcom | |
parent | d5933855c0eb0a4103cf5db784cfdd4d7a85cd56 (diff) | |
download | blackbird-op-linux-028021d29ea069390e1f60c6aa5b3511d218454b.tar.gz blackbird-op-linux-028021d29ea069390e1f60c6aa5b3511d218454b.zip |
soc: qcom: smd: Support opening additional channels
With the qcom_smd_open_channel() API we allow SMD devices to open
additional SMD channels, to allow implementation of multi-channel SMD
devices - like Bluetooth.
Channels are opened from the same edge as the calling SMD device is tied
to.
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'include/linux/soc/qcom')
-rw-r--r-- | include/linux/soc/qcom/smd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/soc/qcom/smd.h b/include/linux/soc/qcom/smd.h index 65a64fcdb1aa..bd51c8a9d807 100644 --- a/include/linux/soc/qcom/smd.h +++ b/include/linux/soc/qcom/smd.h @@ -56,4 +56,8 @@ void qcom_smd_driver_unregister(struct qcom_smd_driver *drv); int qcom_smd_send(struct qcom_smd_channel *channel, const void *data, int len); +struct qcom_smd_channel *qcom_smd_open_channel(struct qcom_smd_device *sdev, + const char *name, + qcom_smd_cb_t cb); + #endif |