diff options
| author | Alex Elder <[email protected]> | 2021-08-20 11:01:27 -0500 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-22 09:44:17 +0100 |
| commit | 1aac309d32075e73d1f93208b38cd2d5f03e0a5c (patch) | |
| tree | 25eb6caf6b7fb1be6666fdb1c248a83d4e379c7a /tools/perf/scripts/python | |
| parent | 4af14dbaeae00af20daf4557f0e25de27cda812f (diff) | |
net: ipa: use autosuspend
Use runtime power management autosuspend.
Up until this point, we only suspended the IPA hardware for system
suspend; now we'll suspend it aggressively using runtime power
management, setting the initial autosuspend delay to half a second
of inactivity.
Replace pm_runtime_put() calls with pm_runtime_put_autosuspend(),
call pm_runtime_mark_last_busy() before each of those. In places
where we're shutting things down, or decrementing power references
for errors, use pm_runtime_put_noidle() instead.
Finally, remove ipa_runtime_idle(), so the ->runtime_suspend
callback will occur if idle.
Signed-off-by: Alex Elder <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions