diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-07-12 00:39:48 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-07-12 00:39:48 +0200 |
commit | 697a7f3727b53c7d4c927948bbe1f6afc4fabfde (patch) | |
tree | d57da1cbcc7d0c72d1549aba1a19def94141773d /drivers/cdrom | |
parent | c6d22b37263607ba5aeeb2e11169fa65caa29bee (diff) |
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: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions