summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-ti-32k.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/timer-ti-32k.c')
-rw-r--r--drivers/clocksource/timer-ti-32k.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clocksource/timer-ti-32k.c b/drivers/clocksource/timer-ti-32k.c
index 29e2e1a78a43..6949a9113dbb 100644
--- a/drivers/clocksource/timer-ti-32k.c
+++ b/drivers/clocksource/timer-ti-32k.c
@@ -97,6 +97,9 @@ static int __init ti_32k_timer_init(struct device_node *np)
return -ENXIO;
}
+ if (!of_machine_is_compatible("ti,am43"))
+ ti_32k_timer.cs.flags |= CLOCK_SOURCE_SUSPEND_NONSTOP;
+
ti_32k_timer.counter = ti_32k_timer.base;
/*
OpenPOWER on IntegriCloud