linux/drivers/soc/qcom
Johan Hovold 8804517e9f soc: qcom: smsm: fix child-node lookup
Fix child-node lookup during probe, which ended up searching the whole
device tree depth-first starting at the parent rather than just matching
on its children.

Note that the original premature free of the parent node has already
been fixed separately.

Also note that this pattern of looking up the first child node with a
given property is rare enough that a generic helper is probably not
warranted.

Fixes: c97c4090ff ("soc: qcom: smsm: Add driver for Qualcomm SMSM")
Fixes: 3e8b554114 ("soc: qcom: smsm: fix of_node refcnting problem")
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Rob Clark <robdclark@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2017-12-20 15:38:34 -06:00
..
glink_ssr.c soc: qcom: GLINK SSR notifier 2017-08-02 12:43:29 -07:00
Kconfig soc: qcom: Remote filesystem memory driver 2017-10-22 05:06:34 -05:00
Makefile ARM: SoC driver updates for v4.15 2017-11-16 16:05:01 -08:00
mdt_loader.c soc: qcom: mdt_loader: Use request_firmware_into_buf() 2017-08-08 17:41:23 -05:00
qcom_gsbi.c soc: qcom: gsbi: Add support for ADM CRCI muxing 2015-03-11 15:18:39 -05:00
rmtfs_mem.c soc: qcom: remove unused label 2017-11-03 13:24:56 +01:00
smd-rpm.c soc: qcom: smd-rpm: Add msm8996 compatibility 2017-03-28 17:58:08 -07:00
smem_state.c soc: qcom: Update properties for smem state referencing 2016-06-24 22:53:41 -05:00
smem.c soc: qcom: smem: Increase the number of hosts 2017-10-11 23:48:27 -05:00
smp2p.c soc: qcom: smp2p: Drop io-accessors 2016-06-24 13:34:00 -05:00
smsm.c soc: qcom: smsm: fix child-node lookup 2017-12-20 15:38:34 -06:00
spm.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-05-17 16:26:30 -07:00
wcnss_ctrl.c soc: qcom: wcnss_ctrl: add missing MODULE_DEVICE_TABLE() 2017-08-08 14:37:42 -05:00