Marc Gonzalez 194444c52e ARM: 8441/2: twd: Don't set CLOCK_EVT_FEAT_C3STOP unconditionally
In 5388a6b266 ("ARM: SMP: Always enable clock event broadcast support")
Russell noted that "the TWD local timers are unable to wake up the CPU
when it is placed into a low power mode".

However, some platforms do not stop the TWD block in low-power mode,
and can thus use the TWD timer in one-shot mode, without setting up
a broadcast device.

Make the driver check for the "always-on" boolean property, and set
the CLOCK_EVT_FEAT_C3STOP flag accordingly.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2015-10-09 16:22:53 +01:00
..
2015-09-11 19:18:28 +01:00
2015-01-07 20:31:54 +00:00
2015-03-25 09:53:43 +01:00
2015-05-20 23:09:51 +02:00
2014-11-21 15:24:50 +00:00
2014-11-21 15:24:50 +00:00
2012-03-28 18:30:01 +01:00
2015-10-03 16:36:45 +01:00
2014-11-21 15:24:50 +00:00
2015-09-11 19:18:28 +01:00
2014-11-21 15:25:02 +00:00
2015-09-16 16:53:39 +02:00
2014-11-21 15:24:50 +00:00
2014-11-21 15:24:50 +00:00
2015-10-03 16:36:45 +01:00
2015-04-16 13:58:29 -05:00