android_kernel_xiaomi_sm8350/kernel/power
Johannes Berg 9c372d06ce power management: no valid states w/o pm_ops
Change /sys/power/state to not advertise any valid states (except for disk
if SOFTWARE_SUSPEND is enabled) when no pm_ops have been set so userspace
can easily discover what states should be available.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Pavel Macheck <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-02-23 14:52:09 -08:00
..
console.c
disk.c [PATCH] swsusp: Change code ordering in disk.c 2007-02-11 10:51:19 -08:00
Kconfig [APM] Add shared version of APM emulation 2007-02-09 17:08:57 +00:00
main.c power management: no valid states w/o pm_ops 2007-02-23 14:52:09 -08:00
Makefile
pm.c
power.h
poweroff.c
process.c [PATCH] PM: Fix SMP races in the freezer 2006-12-13 09:05:49 -08:00
snapshot.c [PATCH] Use ZVC for free_pages 2007-02-11 10:51:17 -08:00
swap.c [PATCH] swsusp: Do not fail if resume device is not set 2007-01-05 23:55:22 -08:00
swsusp.c [PATCH] Use ZVC for free_pages 2007-02-11 10:51:17 -08:00
user.c [PATCH] swsusp: Change pm_ops handling by userland interface 2007-02-11 10:51:20 -08:00