aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2019-04-25 11:04:10 +0200
committerRafael J. Wysocki <[email protected]>2019-04-25 23:18:03 +0200
commit51dcf7482f4b3166ef477d44181648110d501d25 (patch)
treec8b5a497272233836c58ba1953cab67b958feda4 /lib/dynamic_debug.c
parent40aa4db6d530e2ea71e00765df77ac78477e8348 (diff)
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 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions