summaryrefslogtreecommitdiffstats
path: root/Documentation/power
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-10-13 09:27:24 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-10-13 19:04:31 -0400
commit20f97caf1120bd02e8ff4adbad3b44b63626feb5 (patch)
tree912606c83b2114768f565c8890de7b267f9e960a /Documentation/power
parent8a5776a5f49812d29fe4b2d0a2d71675c3facf3f (diff)
PM / QoS: Drop PM_QOS_FLAG_REMOTE_WAKEUP
The PM QoS flag PM_QOS_FLAG_REMOTE_WAKEUP is not used consistently and the vast majority of code simply assumes that remote wakeup should be enabled for devices in runtime suspend if they can generate wakeup signals, so drop it. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'Documentation/power')
-rw-r--r--Documentation/power/pm_qos_interface.txt13
1 files changed, 6 insertions, 7 deletions
diff --git a/Documentation/power/pm_qos_interface.txt b/Documentation/power/pm_qos_interface.txt
index 21d2d48f87a2..19c5f7b1a7ba 100644
--- a/Documentation/power/pm_qos_interface.txt
+++ b/Documentation/power/pm_qos_interface.txt
@@ -98,8 +98,7 @@ Values are updated in response to changes of the request list.
98The target values of resume latency and active state latency tolerance are 98The target values of resume latency and active state latency tolerance are
99simply the minimum of the request values held in the parameter list elements. 99simply the minimum of the request values held in the parameter list elements.
100The PM QoS flags aggregate value is a gather (bitwise OR) of all list elements' 100The PM QoS flags aggregate value is a gather (bitwise OR) of all list elements'
101values. Two device PM QoS flags are defined currently: PM_QOS_FLAG_NO_POWER_OFF 101values. One device PM QoS flag is defined currently: PM_QOS_FLAG_NO_POWER_OFF.
102and PM_QOS_FLAG_REMOTE_WAKEUP.
103 102
104Note: The aggregated target values are implemented in such a way that reading 103Note: The aggregated target values are implemented in such a way that reading
105the aggregated value does not require any locking mechanism. 104the aggregated value does not require any locking mechanism.
@@ -153,14 +152,14 @@ PM QoS list of resume latency constraints and remove sysfs attribute
153pm_qos_resume_latency_us from the device's power directory. 152pm_qos_resume_latency_us from the device's power directory.
154 153
155int dev_pm_qos_expose_flags(device, value) 154int dev_pm_qos_expose_flags(device, value)
156Add a request to the device's PM QoS list of flags and create sysfs attributes 155Add a request to the device's PM QoS list of flags and create sysfs attribute
157pm_qos_no_power_off and pm_qos_remote_wakeup under the device's power directory 156pm_qos_no_power_off under the device's power directory allowing user space to
158allowing user space to change these flags' value. 157change the value of the PM_QOS_FLAG_NO_POWER_OFF flag.
159 158
160void dev_pm_qos_hide_flags(device) 159void dev_pm_qos_hide_flags(device)
161Drop the request added by dev_pm_qos_expose_flags() from the device's PM QoS list 160Drop the request added by dev_pm_qos_expose_flags() from the device's PM QoS list
162of flags and remove sysfs attributes pm_qos_no_power_off and pm_qos_remote_wakeup 161of flags and remove sysfs attribute pm_qos_no_power_off from the device's power
163under the device's power directory. 162directory.
164 163
165Notification mechanisms: 164Notification mechanisms:
166The per-device PM QoS framework has a per-device notification tree. 165The per-device PM QoS framework has a per-device notification tree.