linux/drivers/soc/rockchip
Shawn Lin e6ce6ce062 soc: rockchip: power-domain: fix err handle while probing
commit 1d961f11a1 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.

Fixes: 7c696693a4 ("soc: rockchip: power-domain: Add power domain driver")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-05-11 11:21:11 +02:00
..
Kconfig
Makefile
pm_domains.c soc: rockchip: power-domain: fix err handle while probing 2016-05-11 11:21:11 +02:00