[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1606010902260.3629@nanos>
Date: Wed, 1 Jun 2016 09:03:23 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Neil Armstrong <narmstrong@...libre.com>
cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
daniel.lezcano@...aro.org, Ma Haijun <mahaijuns@...il.com>
Subject: Re: [PATCH 1/2] clocksource: Add Oxford Semiconductor RPS Dual
Timer
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
Powered by blists - more mailing lists