diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2021-09-14 19:23:28 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-09-15 14:04:04 +0200 |
commit | bfcc1e67ff1e4aa8bfe2ca57f99390fc284c799d (patch) | |
tree | c0d4ed0fb9e79751880f9b182a329581f235284b /mm/page_reporting.h | |
parent | 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff) | |
download | linux-bfcc1e67ff1e4aa8bfe2ca57f99390fc284c799d.tar.bz2 |
PM: sleep: Do not assume that "mem" is always present
An implementation of suspend_ops is allowed to reject the PM_SUSPEND_MEM
suspend type from its ->valid() callback, we should not assume that it
is always present as this is not a correct reflection of what a firmware
interface may support.
Fixes: 406e79385f32 ("PM / sleep: System sleep state selection interface rework")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'mm/page_reporting.h')
0 files changed, 0 insertions, 0 deletions