Searched hist:"90681 f53b9381c23ff7762a3b13826d620c272de" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/soc/qcom/ |
H A D | smem_state.c | diff 90681f53b9381c23ff7762a3b13826d620c272de Thu Jul 21 15:52:17 CEST 2022 Liang He <windhl@126.com> soc: qcom: smem_state: Add refcounting for the 'state->of_node'
In qcom_smem_state_register() and qcom_smem_state_release(), we should better use of_node_get() and of_node_put() for the reference creation and destruction of 'device_node'.
Fixes: 9460ae2ff308 ("soc: qcom: Introduce common SMEM state machine code") Signed-off-by: Liang He <windhl@126.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220721135217.1301039-2-windhl@126.com
|