diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2019-04-25 12:04:10 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-04-26 00:18:03 +0300 |
commit | 51dcf7482f4b3166ef477d44181648110d501d25 (patch) | |
tree | c8b5a497272233836c58ba1953cab67b958feda4 /drivers/base/node.c | |
parent | 40aa4db6d530e2ea71e00765df77ac78477e8348 (diff) | |
download | linux-51dcf7482f4b3166ef477d44181648110d501d25.tar.xz |
PM / Domains: Use the base device for driver_deferred_probe_check_state()
When genpd fails to attach a device to one of its multiple PM domains,
we end up calling driver_deferred_probe_check_state() for the recently
allocated virtual device. This is incorrect, as it's the base device
that is being probed.
Fix this by passing along the base device to __genpd_dev_pm_attach()
and use that instead.
Fixes: e01afc325025 ("PM / Domains: Stop deferring probe at the end of initcall")
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/node.c')
0 files changed, 0 insertions, 0 deletions