android_kernel_motorola_sm6375/kernel/power
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Greg Kroah-Hartman 73578a9b2b PM: wakeup: simplify the output logic of pm_show_wakelocks()
commit c9d967b2ce40d71e968eb839f36c936b8a9cf1ea upstream.

The buffer handling in pm_show_wakelocks() is tricky, and hopefully
correct.  Ensure it really is correct by using sysfs_emit_at() which
handles all of the tricky string handling logic in a PAGE_SIZE buffer
for us automatically as this is a sysfs file being read from.

Reviewed-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-01 17:24:34 +01:00
..
autosleep.c
console.c
energy_model.c PM: EM: Increase energy calculation precision 2021-09-15 09:47:33 +02:00
hibernate.c PM: hibernate: use correct mode for swsusp_close() 2021-12-01 09:23:33 +01:00
Kconfig
main.c
Makefile
power.h
poweroff.c
process.c
qos.c
snapshot.c
suspend.c
suspend_test.c
swap.c PM: hibernate: fix sparse warnings 2021-11-17 09:48:39 +01:00
user.c
wakelock.c PM: wakeup: simplify the output logic of pm_show_wakelocks() 2022-02-01 17:24:34 +01:00