Thread (6 messages) 6 messages, 3 authors, 2016-06-02

[PATCH 1/2] clocksource: Add Oxford Semiconductor RPS Dual Timer

From: Thomas Gleixner <hidden>
Date: 2016-06-01 07:05:17
Also in: lkml

On Tue, 31 May 2016, Neil Armstrong wrote:
+static int oxnas_rps_timer_shutdown(struct clock_event_device *evt)
+{
+	struct oxnas_rps_timer *rps =
+		container_of(evt, struct oxnas_rps_timer, clkevent);
+
+	if (!clockevent_state_periodic(evt))
+		return 0;
So if the timer is in oneshot mode, then you just leave it enabled. What's the
rationale of this?
+
+	oxnas_rps_timer_config(rps, 0, 0);
Thanks,

	tglx
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help