PM: runtime: Add pm_runtime_put_autosuspend() replacement
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 30 Jan 2024 11:28:32 +0000 (13:28 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Feb 2024 15:57:47 +0000 (16:57 +0100)
commitb7d46644e554ed017dfabc0841acf418d0584bc9
treeadbc0699fe61bec32e3d52f3461c6233ecf54c34
parentc0ef3df8dbaef51ee4cfd58a471adf2eaee6f6b3
PM: runtime: Add pm_runtime_put_autosuspend() replacement

Add __pm_runtime_put_autosuspend() that replaces
pm_runtime_put_autosuspend() for new users. The intent is to later
re-purpose pm_runtime_put_autosuspend() to also mark the device's last
busy stamp---which is what the vast majority of users actually need.

This is also described in pm_runtime_put_autosuspend() documentation.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/power/runtime_pm.rst
include/linux/pm_runtime.h