diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-10-21 11:02:13 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-10-21 11:02:13 -0400 |
commit | 0690f4f2ef487259e9ce39f575c48c89745058f2 (patch) | |
tree | 6b9435461cd024e1a49d648fe2487cdfe1c8f1a5 /arch | |
parent | 6701ef0318f76a9765a3fc762cbac405e024a8c2 (diff) | |
parent | b28fec1324bf8f5010d2c3c5d57db4115bda66d4 (diff) |
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')
-rw-r--r-- | arch/arm/boot/dts/exynos5420-peach-pit.dts | 5 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos5800-peach-pi.dts | 5 | ||||
-rw-r--r-- | arch/arm/mach-exynos/pm_domains.c | 8 |
3 files changed, 13 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index 8f4d76c5e11c..1b95da79293c 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts | |||
@@ -915,6 +915,11 @@ | |||
915 | }; | 915 | }; |
916 | }; | 916 | }; |
917 | 917 | ||
918 | &pmu_system_controller { | ||
919 | assigned-clocks = <&pmu_system_controller 0>; | ||
920 | assigned-clock-parents = <&clock CLK_FIN_PLL>; | ||
921 | }; | ||
922 | |||
918 | &rtc { | 923 | &rtc { |
919 | status = "okay"; | 924 | status = "okay"; |
920 | clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>; | 925 | clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>; |
diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index 7d5b386b5ae6..8f40c7e549bd 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts | |||
@@ -878,6 +878,11 @@ | |||
878 | }; | 878 | }; |
879 | }; | 879 | }; |
880 | 880 | ||
881 | &pmu_system_controller { | ||
882 | assigned-clocks = <&pmu_system_controller 0>; | ||
883 | assigned-clock-parents = <&clock CLK_FIN_PLL>; | ||
884 | }; | ||
885 | |||
881 | &rtc { | 886 | &rtc { |
882 | status = "okay"; | 887 | status = "okay"; |
883 | clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>; | 888 | clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>; |
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: | |||
200 | args.args_count = 0; | 200 | args.args_count = 0; |
201 | child_domain = of_genpd_get_from_provider(&args); | 201 | child_domain = of_genpd_get_from_provider(&args); |
202 | if (IS_ERR(child_domain)) | 202 | if (IS_ERR(child_domain)) |
203 | goto next_pd; | 203 | continue; |
204 | 204 | ||
205 | if (of_parse_phandle_with_args(np, "power-domains", | 205 | if (of_parse_phandle_with_args(np, "power-domains", |
206 | "#power-domain-cells", 0, &args) != 0) | 206 | "#power-domain-cells", 0, &args) != 0) |
207 | goto next_pd; | 207 | continue; |
208 | 208 | ||
209 | parent_domain = of_genpd_get_from_provider(&args); | 209 | parent_domain = of_genpd_get_from_provider(&args); |
210 | if (IS_ERR(parent_domain)) | 210 | if (IS_ERR(parent_domain)) |
211 | goto next_pd; | 211 | continue; |
212 | 212 | ||
213 | if (pm_genpd_add_subdomain(parent_domain, child_domain)) | 213 | if (pm_genpd_add_subdomain(parent_domain, child_domain)) |
214 | pr_warn("%s failed to add subdomain: %s\n", | 214 | pr_warn("%s failed to add subdomain: %s\n", |
@@ -216,8 +216,6 @@ no_clk: | |||
216 | else | 216 | else |
217 | pr_info("%s has as child subdomain: %s.\n", | 217 | pr_info("%s has as child subdomain: %s.\n", |
218 | parent_domain->name, child_domain->name); | 218 | parent_domain->name, child_domain->name); |
219 | next_pd: | ||
220 | of_node_put(np); | ||
221 | } | 219 | } |
222 | 220 | ||
223 | return 0; | 221 | return 0; |