mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
PM: sleep: core: Switch back to async_schedule_dev()
commit 09beebd8f93b3c8bf894e342f0a203a5c612478c upstream. Commit8b9ec6b732("PM core: Use new async_schedule_dev command") introduced a new function for better performance. However commitf2a424f6c6("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:f2a424f6c6("PM / core: Introduce dpm_async_fn() helper") Signed-off-by: Kai-Heng Feng <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
36c436a8e4
commit
b9c31556c3
1 changed files with 1 additions and 1 deletions
|
|
@ -726,7 +726,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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue