diff options
author | 2013-10-16 23:58:10 +0200 | |
---|---|---|
committer | 2013-10-16 23:58:10 +0200 | |
commit | 1bab64d50e09706ee2e634b2df3c53346f0a0dbb (patch) | |
tree | b7df2d323eb358e1633506ed360a191a41e1ae8d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cpufreq: arm-big-little: use clk_get instead of clk_get_sys (diff) | |
download | linux-dev-1bab64d50e09706ee2e634b2df3c53346f0a0dbb.tar.xz linux-dev-1bab64d50e09706ee2e634b2df3c53346f0a0dbb.zip |
acpi-cpufreq: Add comment under ACPI_ADR_SPACE_SYSTEM_IO case
policy->cur is now set by cpufreq core when cpufreq_driver->get() is defined and
so drivers aren't required to set it. When space_id is ACPI_ADR_SPACE_SYSTEM_IO
for acpi cpufreq driver it doesn't set ->get to a valid function pointer and so
policy->cur is required to be set by driver.
This is already followed in acpi-cpufreq driver. This patch adds a comment
describing why we need to set policy->cur from driver.
Suggested-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions