soc: qcom: wcnss_ctrl: Make wcnss_ctrl parent the other components
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 6 Jun 2016 23:58:20 +0000 (16:58 -0700)
committerAndy Gross <andy.gross@linaro.org>
Fri, 24 Jun 2016 18:34:00 +0000 (13:34 -0500)
commit6be2b3d0848d1ed3e78e416cc4ae9007e85c7533
tree3b1d507ec15248fd3b41449531072999f4682734
parent6b1751a86ce2eb6ebbffa426a703a12f15bcea28
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>
drivers/soc/qcom/wcnss_ctrl.c
include/linux/soc/qcom/wcnss_ctrl.h [new file with mode: 0644]
This page took 0.026772 seconds and 5 git commands to generate.