diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2018-05-31 12:59:56 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-06-06 09:09:21 +0200 |
commit | bcd931f298d4a5660a4ff6f6629831d917a916d8 (patch) | |
tree | eed0f4d16d00cba9ca1c0e06664b1c723f1ba86a /drivers/usb | |
parent | PM / Domains: dt: Allow power-domain property to be a list of specifiers (diff) | |
download | linux-bcd931f298d4a5660a4ff6f6629831d917a916d8.tar.xz linux-bcd931f298d4a5660a4ff6f6629831d917a916d8.zip |
PM / Domains: Don't attach devices in genpd with multi PM domains
The power-domain DT property may now contain a list of PM domain
specifiers, which represents that a device are partitioned across multiple
PM domains. This leads to a new situation in genpd_dev_pm_attach(), as only
one PM domain can be attached per device.
To remain things simple for the most common configuration, when a single PM
domain is used, let's treat the multiple PM domain case as being specific.
In other words, let's change genpd_dev_pm_attach() to check for multiple PM
domains and prevent it from attach any PM domain for this case. Instead,
leave this to be managed separately, from following changes to genpd.
Suggested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions