diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-10-12 21:32:49 +0200 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-10-12 21:37:17 +0200 |
commit | 51a6256b00008a3c520f6f31bcd62cd15cb05960 (patch) | |
tree | 11136d56cbee1c172fac585bb36057e19a933e3c /arch/arm/boot/dts | |
parent | Linux 4.3-rc1 (diff) | |
download | linux-51a6256b00008a3c520f6f31bcd62cd15cb05960.tar.xz linux-51a6256b00008a3c520f6f31bcd62cd15cb05960.zip |
ARM: EXYNOS: Fix double of_node_put() when parsing child power domains
On each next iteration of for_each_compatible_node() the reference
counter for current device node is already decreased by the loop
iterator. The manual call to of_node_get() is required only on loop
break which is not happening here.
The double of_node_get() (with enabled CONFIG_OF_DYNAMIC) lead to
decreasing the counter below expected, initial value.
Fixes: fe4034a3fad7 ("ARM: EXYNOS: Add missing of_node_put() when parsing power domains")
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts')
0 files changed, 0 insertions, 0 deletions