diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-10-21 17:02:13 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-10-21 17:02:13 +0200 |
commit | 0690f4f2ef487259e9ce39f575c48c89745058f2 (patch) | |
tree | 6b9435461cd024e1a49d648fe2487cdfe1c8f1a5 /arch/arm/mach-exynos | |
parent | 6701ef0318f76a9765a3fc762cbac405e024a8c2 (diff) | |
parent | b28fec1324bf8f5010d2c3c5d57db4115bda66d4 (diff) | |
download | blackbird-op-linux-0690f4f2ef487259e9ce39f575c48c89745058f2.tar.gz blackbird-op-linux-0690f4f2ef487259e9ce39f575c48c89745058f2.zip |
Merge tag 'samsung-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into fixes
Merge "Samsung 2nd fixes for v4.3" from Kukjin Kim:
- fix SOC detection of exynos thermal on exynos5260
- fix audio card detection on Peach boards
- fix double of_node_put() when parsing child power domains
* tag 'samsung-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
thermal: exynos: Fix register read in TMU
ARM: dts: Fix audio card detection on Peach boards
ARM: EXYNOS: Fix double of_node_put() when parsing child power domains
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r-- | arch/arm/mach-exynos/pm_domains.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-exynos/pm_domains.c b/arch/arm/mach-exynos/pm_domains.c index 4a87e86dec45..7c21760f590f 100644 --- a/arch/arm/mach-exynos/pm_domains.c +++ b/arch/arm/mach-exynos/pm_domains.c @@ -200,15 +200,15 @@ no_clk: args.args_count = 0; child_domain = of_genpd_get_from_provider(&args); if (IS_ERR(child_domain)) - goto next_pd; + continue; if (of_parse_phandle_with_args(np, "power-domains", "#power-domain-cells", 0, &args) != 0) - goto next_pd; + continue; parent_domain = of_genpd_get_from_provider(&args); if (IS_ERR(parent_domain)) - goto next_pd; + continue; if (pm_genpd_add_subdomain(parent_domain, child_domain)) pr_warn("%s failed to add subdomain: %s\n", @@ -216,8 +216,6 @@ no_clk: else pr_info("%s has as child subdomain: %s.\n", parent_domain->name, child_domain->name); -next_pd: - of_node_put(np); } return 0; |