Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1300527
| From | Inhyuk Kang <hugh.kang@lge.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] thermal: cpu_cooling: update last_load comment |
| Date | 2016-01-04 08:50 +0100 |
| Message-ID | <qN83T-op-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
last_load is updated not cpufreq_get_actual_power()
but cpufreq_get_requested_power().
Signed-off-by: Inhyuk Kang <hugh.kang@lge.com>
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index e3fbc5a..3069ef5 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -74,7 +74,8 @@ struct power_table {
* cpufreq frequencies.
* @allowed_cpus: all the cpus involved for this cpufreq_cooling_device.
* @node: list_head to link all cpufreq_cooling_device together.
- * @last_load: load measured by the latest call to cpufreq_get_actual_power()
+ * @last_load: load measured by the latest call to
+ * cpufreq_get_requested_power()
* @time_in_idle: previous reading of the absolute time that this cpu was idle
* @time_in_idle_timestamp: wall time of the last invocation of
* get_cpu_idle_time_us()
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] thermal: cpu_cooling: update last_load comment Inhyuk Kang <hugh.kang@lge.com> - 2016-01-04 08:50 +0100
csiph-web