diff options
| author | Ulf Hansson <[email protected]> | 2019-04-25 09:04:10 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2019-04-25 21:18:03 +0000 |
| commit | 51dcf7482f4b3166ef477d44181648110d501d25 (patch) | |
| tree | c8b5a497272233836c58ba1953cab67b958feda4 /fs/proc/array.c | |
| parent | Merge cpuidle material depended on by the subsequent changes. (diff) | |
| download | kernel-51dcf7482f4b3166ef477d44181648110d501d25.tar.gz kernel-51dcf7482f4b3166ef477d44181648110d501d25.zip | |
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 <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
