]> www.infradead.org Git - users/jedix/linux-maple.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 18:46:03 +0000 (19:46 +0100)
commitebe9a3ca07d84556b007fa1418cf9501660af4d0
tree56a97bdd8f2df66909ffe7a6c7af82181a3e4229
parentbda9f846ae0708a42588235b68533255058bd94d
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