summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-04-24 23:43:37 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-04-24 23:43:37 +0300
commit8e9ccd0f26b082139c985ed8c0bbe2e44c2ffe2c (patch)
treec26ab50b6ed5513f62f6a16bef4eb9fd42527d9a /drivers
parent5be35f7ffca5265f565b1b7dcf4951805bd92482 (diff)
parent4bee16d7cccddafd769e8d8ec0625ba239d11a26 (diff)
downloadlinux-8e9ccd0f26b082139c985ed8c0bbe2e44c2ffe2c.tar.xz
Merge tag 'pm-5.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull power management fixes from Rafael Wysocki: "Restore an optimization related to asynchronous suspend and resume of devices during system-wide power transitions that was disabled by mistake (Kai-Heng Feng) and update the pm-graph suite of power management utilities (Todd Brandt)" * tag 'pm-5.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: PM: sleep: core: Switch back to async_schedule_dev() pm-graph v5.6
Diffstat (limited to 'drivers')
-rw-r--r--drivers/base/power/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
index fdd508a78ffd..0e07e17c2def 100644
--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -730,7 +730,7 @@ static bool dpm_async_fn(struct device *dev, async_func_t func)
if (is_async(dev)) {
get_device(dev);
- async_schedule(func, dev);
+ async_schedule_dev(func, dev);
return true;
}