linux-stable/drivers/soc/sifive
Yang Yingliang 5e1a9c98c1 soc: sifive: ccache: fix missing of_node_put() in sifive_ccache_init()
[ Upstream commit 8fbf94fea0 ]

The device_node pointer returned by of_find_matching_node() with
refcount incremented, when finish using it, the refcount need be
decreased.

Fixes: a967a289f1 ("RISC-V: sifive_l2_cache: Add L2 cache controller driver for SiFive SoCs")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:31:50 +01:00
..
Kconfig soc: sifive: ccache: Rename SiFive L2 cache to Composable cache. 2022-10-13 11:06:51 -07:00
Makefile soc: sifive: ccache: Rename SiFive L2 cache to Composable cache. 2022-10-13 11:06:51 -07:00
sifive_ccache.c soc: sifive: ccache: fix missing of_node_put() in sifive_ccache_init() 2022-12-31 13:31:50 +01:00