Bugzilla – Attachment 728059 Details for
Bug 1043231
Kernel build failed at armv7hl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
0001-ARM-EXYNOS-Remove-calls-to-of_genpd_get_from_provide.patch
0001-ARM-EXYNOS-Remove-calls-to-of_genpd_get_from_provide.patch (text/plain), 2.15 KB, created by
Matwey Kornilov
on 2017-06-07 19:34:03 UTC
(
hide
)
Description:
0001-ARM-EXYNOS-Remove-calls-to-of_genpd_get_from_provide.patch
Filename:
MIME Type:
Creator:
Matwey Kornilov
Created:
2017-06-07 19:34:03 UTC
Size:
2.15 KB
patch
obsolete
>From b1375610fd2292fc884356330882c82e7ba5db64 Mon Sep 17 00:00:00 2001 >From: Jon Hunter <jonathanh@nvidia.com> >Date: Mon, 12 Sep 2016 12:01:06 +0100 >Subject: [PATCH 01/19] ARM: EXYNOS: Remove calls to > of_genpd_get_from_provider() > >Update the EXYNOS PM domain code to use the of_genpd_add_subdomain() >and remove any calls to of_genpd_get_from_provider(). > >Signed-off-by: Jon Hunter <jonathanh@nvidia.com> >Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> >Acked-by: Ulf Hansson <ulf.hansson@linaro.org> >Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> >Git-commit: 8d68c3713aa6dcf4f65f7fa8f0b6f692ace18d07 >Patch-mainline: v4.9-rc1 >Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com> >--- > arch/arm/mach-exynos/pm_domains.c | 23 ++++++++--------------- > 1 file changed, 8 insertions(+), 15 deletions(-) > >diff --git a/arch/arm/mach-exynos/pm_domains.c b/arch/arm/mach-exynos/pm_domains.c >index 875a2bab64f6..a540b3933d15 100644 >--- a/arch/arm/mach-exynos/pm_domains.c >+++ b/arch/arm/mach-exynos/pm_domains.c >@@ -193,29 +193,22 @@ no_clk: > > /* Assign the child power domains to their parents */ > for_each_compatible_node(np, NULL, "samsung,exynos4210-pd") { >- struct generic_pm_domain *child_domain, *parent_domain; >- struct of_phandle_args args; >+ struct of_phandle_args child, parent; > >- args.np = np; >- args.args_count = 0; >- child_domain = of_genpd_get_from_provider(&args); >- if (IS_ERR(child_domain)) >- continue; >+ child.np = np; >+ child.args_count = 0; > > if (of_parse_phandle_with_args(np, "power-domains", >- "#power-domain-cells", 0, &args) != 0) >- continue; >- >- parent_domain = of_genpd_get_from_provider(&args); >- if (IS_ERR(parent_domain)) >+ "#power-domain-cells", 0, >+ &parent) != 0) > continue; > >- if (pm_genpd_add_subdomain(parent_domain, child_domain)) >+ if (of_genpd_add_subdomain(&parent, &child)) > pr_warn("%s failed to add subdomain: %s\n", >- parent_domain->name, child_domain->name); >+ parent.np->name, child.np->name); > else > pr_info("%s has as child subdomain: %s.\n", >- parent_domain->name, child_domain->name); >+ parent.np->name, child.np->name); > } > > return 0; >-- >2.12.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 1043231
: 728059 |
728060
|
728061
|
728062
|
728063
|
728064
|
728065
|
728066
|
728067
|
728068
|
728069
|
728070
|
728071
|
728072
|
728073
|
728074
|
728075
|
728076
|
728077
|
728521
|
728695
|
728770