diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-06-06 16:58:20 -0700 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-06-24 13:34:00 -0500 |
commit | 6be2b3d0848d1ed3e78e416cc4ae9007e85c7533 (patch) | |
tree | 3b1d507ec15248fd3b41449531072999f4682734 /include/linux/soc/qcom | |
parent | 6b1751a86ce2eb6ebbffa426a703a12f15bcea28 (diff) | |
download | op-kernel-dev-6be2b3d0848d1ed3e78e416cc4ae9007e85c7533.zip op-kernel-dev-6be2b3d0848d1ed3e78e416cc4ae9007e85c7533.tar.gz |
soc: qcom: wcnss_ctrl: Make wcnss_ctrl parent the other components
We need the signal from wcnss_ctrl indicating that the firmware is up
and running before we can communicate with the other components of the
chip. So make these other components children of the wcnss_ctrl device,
so they can be probed in order.
The process seems to take between 1/2-5 seconds, so this is done in a
worker, instead of holding up the probe.
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/wcnss_ctrl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/soc/qcom/wcnss_ctrl.h b/include/linux/soc/qcom/wcnss_ctrl.h new file mode 100644 index 0000000..a37bc55 --- /dev/null +++ b/include/linux/soc/qcom/wcnss_ctrl.h @@ -0,0 +1,8 @@ +#ifndef __WCNSS_CTRL_H__ +#define __WCNSS_CTRL_H__ + +#include <linux/soc/qcom/smd.h> + +struct qcom_smd_channel *qcom_wcnss_open_channel(void *wcnss, const char *name, qcom_smd_cb_t cb); + +#endif |