android_kernel_xiaomi_sm8350/kernel/power
Shaohua Li eb9289eb20 [PATCH] introduce .valid callback for pm_ops
Add pm_ops.valid callback, so only the available pm states show in
/sys/power/state.  And this also makes an earlier states error report at
enter_state before we do actual suspend/resume.

Signed-off-by: Shaohua Li<shaohua.li@intel.com>
Acked-by: Pavel Machek<pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:15 -08:00
..
console.c
disk.c [PATCH] swsusp: two simplifications 2005-10-30 17:37:15 -08:00
Kconfig [PATCH] SOFTWARE_SUSPEND needs HOTPLUG_CPU on SMP 2005-09-22 22:17:34 -07:00
main.c [PATCH] introduce .valid callback for pm_ops 2005-10-30 17:37:15 -08:00
Makefile [PATCH] swsusp: move snapshot functionality to separate file 2005-10-30 17:37:14 -08:00
pm.c [PATCH] introduce and use kzalloc 2005-09-07 16:57:45 -07:00
power.h [PATCH] swsusp: rework memory freeing on resume 2005-10-30 17:37:14 -08:00
poweroff.c [PATCH] Use kernel_power_off in sysrq-o 2005-07-26 14:35:43 -07:00
process.c [PATCH] pm: fix process freezing 2005-09-05 00:06:17 -07:00
smp.c [PATCH] Address BUG: using smp_processor_id() in preemptible [00000001] code 2005-07-27 16:25:50 -07:00
snapshot.c [PATCH] swsusp: get rid of unnecessary wrapper function 2005-10-30 17:37:15 -08:00
swsusp.c [PATCH] swsusp: two simplifications 2005-10-30 17:37:15 -08:00