diff options
author | Bjorn Andersson <bjorn.andersson@sonymobile.com> | 2016-02-18 01:39:06 -0500 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-03-30 18:21:12 -0400 |
commit | 028021d29ea069390e1f60c6aa5b3511d218454b (patch) | |
tree | f110524d269f059264b93a64b9f7223727a61461 /include/linux/soc/qcom/smd.h | |
parent | d5933855c0eb0a4103cf5db784cfdd4d7a85cd56 (diff) |
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/smd.h')
-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); | |||
56 | 56 | ||
57 | int qcom_smd_send(struct qcom_smd_channel *channel, const void *data, int len); | 57 | int qcom_smd_send(struct qcom_smd_channel *channel, const void *data, int len); |
58 | 58 | ||
59 | struct qcom_smd_channel *qcom_smd_open_channel(struct qcom_smd_device *sdev, | ||
60 | const char *name, | ||
61 | qcom_smd_cb_t cb); | ||
62 | |||
59 | #endif | 63 | #endif |