summaryrefslogtreecommitdiffstats
path: root/lib/genalloc.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2021-09-15 04:23:28 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-09-15 14:04:04 +0200
commitbfcc1e67ff1e4aa8bfe2ca57f99390fc284c799d (patch)
treec0d4ed0fb9e79751880f9b182a329581f235284b /lib/genalloc.c
parentLinux 5.15-rc1 (diff)
downloadlinux-bfcc1e67ff1e4aa8bfe2ca57f99390fc284c799d.tar.xz
linux-bfcc1e67ff1e4aa8bfe2ca57f99390fc284c799d.zip
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 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions