Patch "soc: rockchip: power-domain: fix err handle while probing" has been added to the 4.5-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
soc: rockchip: power-domain: fix err handle while probing
to the 4.5-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
soc-rockchip-power-domain-fix-err-handle-while-probing.patch
and it can be found in the queue-4.5 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
1d961f11a108af9f7fbe89cc950a8d16ddbdbb28Mon Sep 17 00:00:00 2001
From: Shawn Lin <[email protected]>
Date: Mon, 1 Feb 2016 16:18:40 +0800
Subject: soc: rockchip: power-domain: fix err handle while probing
From: Shawn Lin <[email protected]>
commit 1d961f11a108af9f7fbe89cc950a8d16ddbdbb28 upstream.
If we fail to probe the driver, we should not directly break from the for_each_available_child_of_node since it calls of_node_get while iterating. This patch add of_node_put to fix the unbalanced call pair.
--- drivers/soc/rockchip/pm_domains.c | 1 + 1 file changed, 1 insertion(+)
drivers/soc/rockchip/pm_domains.c +1 -0
@@ -419,6 +419,7 @@ static int rockchip_pm_domain_probe(struif (error) {dev_err (dev,"failed to handle node %s: %d\n" , node->name, error); +of_node_put (node); goto err_out; } }
Patches currently in stable-queue which might be from [email protected] are
queue-4.5/clk-rockchip-fix-wrong-mmc-phase-shift-for-rk3228.patch queue-4.5/clk-rockchip-free-memory-in-error-cases-when-registering-clock-branches.patch queue-4.5/soc-rockchip-power-domain-fix-err-handle-while-probing.patch