Files
linux/drivers
Liang He a4d0bd4388 memory: of: Fix refcount leak bug in of_get_ddr_timings()
[ Upstream commit 05215fb320 ]

We should add the of_node_put() when breaking out of
for_each_child_of_node() as it will automatically increase
and decrease the refcount.

Fixes: e6b42eb6a6 ("memory: emif: add device tree support to emif driver")
Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220719085640.1210583-1-windhl@126.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 13:15:40 +02:00
..
2021-12-14 10:04:48 +01:00
2022-05-12 12:14:53 +02:00
2022-07-02 16:17:16 +02:00
2020-12-29 13:45:00 +01:00
2022-04-20 09:06:42 +02:00