]> www.infradead.org Git - users/dwmw2/linux.git/commit
cpuidle: big.LITTLE: fix refcount leak
authorYangtao Li <tiny.windzz@gmail.com>
Mon, 10 Dec 2018 16:26:41 +0000 (11:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 19:02:17 +0000 (20:02 +0100)
commitd1dda680ffbbd1c52dc0e4e0ff9d6e3ef3885ef4
tree427e87b954c0cfd03dc9f5c69e4717e83e55eb51
parent48bfd6158c0f734c663f5d8f4ea0a43b1940e508
cpuidle: big.LITTLE: fix refcount leak

[ Upstream commit 9456823c842f346c74265fcd98d008d87a7eb6f5 ]

of_find_node_by_path() acquires a reference to the node
returned by it and that reference needs to be dropped by its caller.
bl_idle_init() doesn't do that, so fix it.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/cpuidle/cpuidle-big_little.c