soc: dove: Let genpd deal with disabling of unused PM domains
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 6 Oct 2015 12:27:30 +0000 (14:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Oct 2015 21:27:01 +0000 (23:27 +0200)
Genpd tries from a late_initcall to disable unused PM domains, which makes
it unnecessary to also manage this from any earlier phase when for example
initializing a genpd.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/soc/dove/pmu.c

index 052aecf298935e8420fc5b6df0069992b5dc4e3b..abd087917f807e03a466337a0fcf26cfd3499243 100644 (file)
@@ -396,7 +396,6 @@ int __init dove_init_pmu(void)
 
                __pmu_domain_register(domain, np);
        }
-       pm_genpd_poweroff_unused();
 
        /* Loss of the interrupt controller is not a fatal error. */
        parent_irq = irq_of_parse_and_map(pmu->of_node, 0);