]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Documentation: PM: Clarify pm_runtime_resume_and_get() return value
authorPaul Barker <paul.barker.ct@bp.renesas.com>
Tue, 3 Dec 2024 14:37:29 +0000 (14:37 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Dec 2024 17:08:56 +0000 (18:08 +0100)
commit4d25a292a7c951f3c877e4ccdca5476c3622ecb4
tree270b8227915c261f59cc99d47fb8f7e3387bcd09
parenta52ac1d88355c21b4069b79ebb2fc20cadfd0796
Documentation: PM: Clarify pm_runtime_resume_and_get() return value

[ Upstream commit ccb84dc8f4a02e7d30ffd388522996546b4d00e1 ]

Update the documentation to match the behaviour of the code.

pm_runtime_resume_and_get() always returns 0 on success, even if
__pm_runtime_resume() returns 1.

Fixes: 2c412337cfe6 ("PM: runtime: Add documentation for pm_runtime_resume_and_get()")
Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Link: https://patch.msgid.link/20241203143729.478-1-paul.barker.ct@bp.renesas.com
[ rjw: Subject and changelog edits, adjusted new comment formatting ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/power/runtime_pm.rst