mirror of https://gitee.com/openkylin/linux.git
eb9289eb20
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
console.c | ||
disk.c | ||
main.c | ||
pm.c | ||
power.h | ||
poweroff.c | ||
process.c | ||
smp.c | ||
snapshot.c | ||
swsusp.c |