From: Sakari Ailus Date: Mon, 16 Jun 2025 06:12:12 +0000 (+0300) Subject: Documentation: PM: *_autosuspend() functions update last busy time X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cd4da713f99651e99fbce8ed6b6ec8f686c029a8;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Laurent Pinchart Link: https://patch.msgid.link/20250616061212.2286741-7-sakari.ailus@linux.intel.com Signed-off-by: Rafael J. Wysocki --- diff --git a/Documentation/power/runtime_pm.rst b/Documentation/power/runtime_pm.rst index 91bc934222627..c8dbdb8595e5a 100644 --- a/Documentation/power/runtime_pm.rst +++ b/Documentation/power/runtime_pm.rst @@ -887,7 +887,8 @@ instead of the non-autosuspend counterparts:: Drivers may also continue to use the non-autosuspend helper functions; they will behave normally, which means sometimes taking the autosuspend delay into -account (see pm_runtime_idle). +account (see pm_runtime_idle). The autosuspend variants of the functions also +call pm_runtime_mark_last_busy(). Under some circumstances a driver or subsystem may want to prevent a device from autosuspending immediately, even though the usage counter is zero and the