Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 697a7f37 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

PM / Domains: Do not restore all devices on power off error



Since every device in a PM domain has its own need_restore
flag, which is set by __pm_genpd_save_device(), there's no need to
walk the domain's device list and restore all devices on an error
from one of the drivers' .runtime_suspend() callbacks.

Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent c6d22b37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment