Skip to content
Commit 5a2eb858 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

PM: Add facility for advanced testing of async suspend/resume



Add configuration switch CONFIG_PM_ADVANCED_DEBUG for compiling in
extra PM debugging/testing code allowing one to access some
PM-related attributes of devices from the user space via sysfs.

If CONFIG_PM_ADVANCED_DEBUG is set, add sysfs attribute power/async
for every device allowing the user space to access the device's
power.async_suspend flag and modify it, if desired.

Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 0e06b4a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment