diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2012-08-30 10:41:10 -0700 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2012-09-04 22:41:18 +0100 |
commit | 970febef2484d052e03c27f09513856822476624 (patch) | |
tree | a7d5cdc2e66caaf721d6f05d8ba569796d633813 | |
parent | 7baff24640a87eb38a08a96439e657a009e5b422 (diff) | |
download | linux-aarch64-970febef2484d052e03c27f09513856822476624.tar.gz |
arm64: Add C3 stop to the generic timer features
There may be platforms that cannot be waken up by the generic timer
directly and we need broadcast support.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
-rw-r--r-- | drivers/clocksource/arm_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/arm_generic.c b/drivers/clocksource/arm_generic.c index 05c898c8104..47ce663d3bf 100644 --- a/drivers/clocksource/arm_generic.c +++ b/drivers/clocksource/arm_generic.c @@ -155,7 +155,7 @@ static void __cpuinit arch_timer_setup(struct clock_event_device *clk) /* Let's make sure the timer is off before doing anything else */ arch_timer_stop(); - clk->features = CLOCK_EVT_FEAT_ONESHOT; + clk->features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_C3STOP; clk->name = "arch_sys_timer"; clk->rating = 400; clk->set_mode = arch_timer_set_mode; |