mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
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>
This commit is contained in:
parent
6b1751a86c
commit
6be2b3d084
2 changed files with 114 additions and 19 deletions
8
include/linux/soc/qcom/wcnss_ctrl.h
Normal file
8
include/linux/soc/qcom/wcnss_ctrl.h
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue