]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Documentation: PM: *_autosuspend() functions update last busy time
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 16 Jun 2025 06:12:12 +0000 (09:12 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Jun 2025 19:41:08 +0000 (21:41 +0200)
Document that the *_autosuspend() variants of the Runtime PM functions
update the last busy timestamp.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patch.msgid.link/20250616061212.2286741-7-sakari.ailus@linux.intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/power/runtime_pm.rst

index 91bc934222627dbfebbed5262e7dba58e259e61b..c8dbdb8595e5a4e2d800b372fe0ed91e042db645 100644 (file)
@@ -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