|
Takashi Iwai |
d25b75 |
From 444dd878e85fb33fcfb2682cfdab4c236f33ea3e Mon Sep 17 00:00:00 2001
|
|
Takashi Iwai |
d25b75 |
From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
|
|
Takashi Iwai |
d25b75 |
Date: Fri, 3 Dec 2021 17:19:47 +0100
|
|
Takashi Iwai |
d25b75 |
Subject: [PATCH] PM: runtime: Fix pm_runtime_active() kerneldoc comment
|
|
Takashi Iwai |
d25b75 |
Git-commit: 444dd878e85fb33fcfb2682cfdab4c236f33ea3e
|
|
Takashi Iwai |
d25b75 |
Patch-mainline: v5.16-rc5
|
|
Takashi Iwai |
d25b75 |
References: git-fixes
|
|
Takashi Iwai |
d25b75 |
|
|
Takashi Iwai |
d25b75 |
The kerneldoc comment of pm_runtime_active() does not reflect the
|
|
Takashi Iwai |
d25b75 |
behavior of the function, so update it accordingly.
|
|
Takashi Iwai |
d25b75 |
|
|
Takashi Iwai |
d25b75 |
Fixes: 403d2d116ec0 ("PM: runtime: Add kerneldoc comments to multiple helpers")
|
|
Takashi Iwai |
d25b75 |
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
|
Takashi Iwai |
d25b75 |
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
|
|
Takashi Iwai |
d25b75 |
Acked-by: Takashi Iwai <tiwai@suse.de>
|
|
Takashi Iwai |
d25b75 |
|
|
Takashi Iwai |
d25b75 |
---
|
|
Takashi Iwai |
d25b75 |
include/linux/pm_runtime.h | 2 +-
|
|
Takashi Iwai |
d25b75 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Takashi Iwai |
d25b75 |
|
|
Takashi Iwai |
d25b75 |
diff --git a/include/linux/pm_runtime.h b/include/linux/pm_runtime.h
|
|
Takashi Iwai |
d25b75 |
index 222da43b7096..eddd66d426ca 100644
|
|
Takashi Iwai |
d25b75 |
--- a/include/linux/pm_runtime.h
|
|
Takashi Iwai |
d25b75 |
+++ b/include/linux/pm_runtime.h
|
|
Takashi Iwai |
d25b75 |
@@ -129,7 +129,7 @@ static inline bool pm_runtime_suspended(struct device *dev)
|
|
Takashi Iwai |
d25b75 |
* pm_runtime_active - Check whether or not a device is runtime-active.
|
|
Takashi Iwai |
d25b75 |
* @dev: Target device.
|
|
Takashi Iwai |
d25b75 |
*
|
|
Takashi Iwai |
d25b75 |
- * Return %true if runtime PM is enabled for @dev and its runtime PM status is
|
|
Takashi Iwai |
d25b75 |
+ * Return %true if runtime PM is disabled for @dev or its runtime PM status is
|
|
Takashi Iwai |
d25b75 |
* %RPM_ACTIVE, or %false otherwise.
|
|
Takashi Iwai |
d25b75 |
*
|
|
Takashi Iwai |
d25b75 |
* Note that the return value of this function can only be trusted if it is
|
|
Takashi Iwai |
d25b75 |
--
|
|
Takashi Iwai |
d25b75 |
2.31.1
|
|
Takashi Iwai |
d25b75 |
|