Skip to content

Commit cd4da71

Browse files
Sakari Ailusrafaeljw
authored andcommitted
Documentation: PM: *_autosuspend() functions update last busy time
Document that the *_autosuspend() variants of the Runtime PM functions update the last busy timestamp. Signed-off-by: Sakari Ailus <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 18c1fe5 commit cd4da71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/power/runtime_pm.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,8 @@ instead of the non-autosuspend counterparts::
887887

888888
Drivers may also continue to use the non-autosuspend helper functions; they
889889
will behave normally, which means sometimes taking the autosuspend delay into
890-
account (see pm_runtime_idle).
890+
account (see pm_runtime_idle). The autosuspend variants of the functions also
891+
call pm_runtime_mark_last_busy().
891892

892893
Under some circumstances a driver or subsystem may want to prevent a device
893894
from autosuspending immediately, even though the usage counter is zero and the

0 commit comments

Comments
 (0)