aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2013-03-27 06:22:13 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-03-31 19:10:28 -0400
commitb6269efb146eb8770d753e3dc1c561f1cffb631a (patch)
tree1d2c26a571fcd90ed4c50afde166c2dced810767 /arch/arm/mach-imx
parent54769d653a8cf5e0fe7e78b92d7b4c4c65722b36 (diff)
cpuidle: imx6: remove timer broadcast initialization
The initialization is done from the cpuidle framework. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r--arch/arm/mach-imx/cpuidle-imx6q.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm/mach-imx/cpuidle-imx6q.c b/arch/arm/mach-imx/cpuidle-imx6q.c
index 5ae22f701813..a783a6314b4f 100644
--- a/arch/arm/mach-imx/cpuidle-imx6q.c
+++ b/arch/arm/mach-imx/cpuidle-imx6q.c
@@ -6,7 +6,6 @@
6 * published by the Free Software Foundation. 6 * published by the Free Software Foundation.
7 */ 7 */
8 8
9#include <linux/clockchips.h>
10#include <linux/cpuidle.h> 9#include <linux/cpuidle.h>
11#include <linux/module.h> 10#include <linux/module.h>
12#include <asm/cpuidle.h> 11#include <asm/cpuidle.h>
@@ -43,17 +42,6 @@ done:
43 return index; 42 return index;
44} 43}
45 44
46/*
47 * For each cpu, setup the broadcast timer because local timer
48 * stops for the states other than WFI.
49 */
50static void imx6q_setup_broadcast_timer(void *arg)
51{
52 int cpu = smp_processor_id();
53
54 clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ON, &cpu);
55}
56
57static struct cpuidle_driver imx6q_cpuidle_driver = { 45static struct cpuidle_driver imx6q_cpuidle_driver = {
58 .name = "imx6q_cpuidle", 46 .name = "imx6q_cpuidle",
59 .owner = THIS_MODULE, 47 .owner = THIS_MODULE,
@@ -84,8 +72,5 @@ int __init imx6q_cpuidle_init(void)
84 /* Set chicken bit to get a reliable WAIT mode support */ 72 /* Set chicken bit to get a reliable WAIT mode support */
85 imx6q_set_chicken_bit(); 73 imx6q_set_chicken_bit();
86 74
87 /* Configure the broadcast timer on each cpu */
88 on_each_cpu(imx6q_setup_broadcast_timer, NULL, 1);
89
90 return imx_cpuidle_init(&imx6q_cpuidle_driver); 75 return imx_cpuidle_init(&imx6q_cpuidle_driver);
91} 76}