Commit e6f03657 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

cpufreq: Select IRQ_WORK if CPU_FREQ_GOV_COMMON is set

Commit 0eb463be3436 (cpufreq: governor: Replace timers with utilization
update callbacks) made CPU_FREQ select IRQ_WORK, but that's not
necessary, as it is sufficient for IRQ_WORK to be selected by
CPU_FREQ_GOV_COMMON, so modify the cpufreq Kconfig to that effect.
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 242aa883
...@@ -3,7 +3,6 @@ menu "CPU Frequency scaling" ...@@ -3,7 +3,6 @@ menu "CPU Frequency scaling"
config CPU_FREQ config CPU_FREQ
bool "CPU Frequency scaling" bool "CPU Frequency scaling"
select SRCU select SRCU
select IRQ_WORK
help help
CPU Frequency scaling allows you to change the clock speed of CPU Frequency scaling allows you to change the clock speed of
CPUs on the fly. This is a nice method to save power, because CPUs on the fly. This is a nice method to save power, because
...@@ -20,6 +19,7 @@ config CPU_FREQ ...@@ -20,6 +19,7 @@ config CPU_FREQ
if CPU_FREQ if CPU_FREQ
config CPU_FREQ_GOV_COMMON config CPU_FREQ_GOV_COMMON
select IRQ_WORK
bool bool
config CPU_FREQ_BOOST_SW config CPU_FREQ_BOOST_SW
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment