linux_dsm_epyc7002/drivers/base/power
Ulf Hansson 51dcf7482f 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: e01afc3250 ("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>
2019-04-25 23:18:03 +02:00
..
clock_ops.c PM: clock_ops: fix missing clk_prepare() return value check 2019-01-18 11:47:07 +01:00
common.c PM / Domains: Mark "name" const in dev_pm_domain_attach_by_name() 2019-02-15 11:36:38 +01:00
domain_governor.c PM / Domains: Add genpd governor for CPUs 2019-04-11 22:41:01 +02:00
domain.c PM / Domains: Use the base device for driver_deferred_probe_check_state() 2019-04-25 23:18:03 +02:00
generic_ops.c PM / sleep: Remove pm_complete_with_resume_check() 2017-10-11 15:40:29 +02:00
main.c Additional power management updates for 5.1-rc1 2019-03-14 10:30:06 -07:00
Makefile Merge branches 'pm-cpufreq-sched' and 'pm-opp' 2017-11-13 01:40:52 +01:00
power.h PM-runtime: Consolidate code to get active/suspended time 2019-03-07 11:23:17 +01:00
qos.c PM / QoS: Fix typo in file description 2019-03-11 10:35:53 +01:00
runtime.c Additional power management updates for 5.1-rc1 2019-03-14 10:30:06 -07:00
sysfs.c PM-runtime: Call pm_runtime_active|suspended_time() from sysfs 2019-03-07 11:23:17 +01:00
trace.c PM: Add and use pr_fmt() 2019-03-07 11:02:02 +01:00
wakeirq.c PM / wakeirq: Add wakeup name to dedicated wake irqs 2018-02-26 23:23:37 +01:00
wakeup.c Merge branches 'pm-core', 'pm-sleep' and 'pm-qos' 2019-03-14 10:51:38 +01:00