summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-04-10 13:38:25 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-04-19 23:29:18 +0200
commitbafdcde73be7d462129cecfc339d3a6abcba91d2 (patch)
tree397c5bb357399f8d38236d9fde77ed856a2f0dac /drivers/cpuidle
parentPM / runtime: Fix autosuspend documentation (diff)
downloadlinux-bafdcde73be7d462129cecfc339d3a6abcba91d2.tar.xz
linux-bafdcde73be7d462129cecfc339d3a6abcba91d2.zip
PM / runtime: Document autosuspend-helper side effects
Document the fact that the autosuspend delay and enable helpers may change the power.usage_count and resume or suspend a device depending on the values of power.autosuspend_delay and power.use_autosuspend. Note that this means that a driver must disable autosuspend before disabling runtime pm on probe errors and on driver unbind if the device is to be suspended upon return (as a negative delay may otherwise keep the device resumed). Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions