Skip to content
Commit b9c31556 authored by Kai-Heng Feng's avatar Kai-Heng Feng Committed by Greg Kroah-Hartman
Browse files

PM: sleep: core: Switch back to async_schedule_dev()



commit 09beebd8 upstream.

Commit 8b9ec6b7 ("PM core: Use new async_schedule_dev command")
introduced a new function for better performance.

However commit f2a424f6 ("PM / core: Introduce dpm_async_fn()
helper") went back to the non-optimized version, async_schedule().

So switch back to the sync_schedule_dev() to improve performance

Fixes: f2a424f6 ("PM / core: Introduce dpm_async_fn() helper")
Signed-off-by: default avatarKai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 36c436a8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment