summaryrefslogtreecommitdiff
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorXinyu Chen <xinyu.chen@freescale.com>2012-10-10 11:28:15 +0800
committerXinyu Chen <xinyu.chen@freescale.com>2012-10-10 11:28:15 +0800
commit28333179b57d02daebad71e12a21534f9678949f (patch)
tree56eaad19ae18fa89e8092d06995f0ab1fa7732e1 /drivers/cpufreq
parentc2641cebd425b87fe1266c7060149f07741eb6a4 (diff)
ENGR00227653 Revert "Delay interactive governor to speed up kernel boot"
The updated interactive governor added input handler callbacks to capture the multitouch, touchpad device's connect/disconnect/report events. If using the interactive as default governor, the interactive's start command will be triggered when bringup each cpu cores, and the input handler will be registered. But at this time, the inputopen_work is not initialized until the late_initcall. This caused if there's a touch screen driver registered, and input handler connected callback be called, the queue work to inputopen_work will crash. This reverts commit 2c1d402e9b2f802e33ccb622f41527812cac386f. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/cpufreq_interactive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c
index 589c6d42c410..055b6421f0ca 100644
--- a/drivers/cpufreq/cpufreq_interactive.c
+++ b/drivers/cpufreq/cpufreq_interactive.c
@@ -1101,7 +1101,7 @@ int cpufreq_gov_irq_tuner_register(struct irq_tuner dbs_irq_tuner)
}
EXPORT_SYMBOL_GPL(cpufreq_gov_irq_tuner_register);
#ifdef CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE
-late_initcall(cpufreq_interactive_init);
+fs_initcall(cpufreq_interactive_init);
#else
module_init(cpufreq_interactive_init);
#endif