public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: tglx@linutronix.de (Thomas Gleixner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v8 2/7] clocksource: Add support for the Mediatek SoCs
Date: Mon, 16 Jun 2014 09:43:47 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.10.1406160943370.5170@nanos> (raw)
In-Reply-To: <539E116D.6030002@linaro.org>

On Sun, 15 Jun 2014, Daniel Lezcano wrote:

> On 06/11/2014 08:14 PM, Thomas Gleixner wrote:
> > On Wed, 11 Jun 2014, Matthias Brugger wrote:
> > > +static void mtk_clkevt_mode(enum clock_event_mode mode,
> > > +				struct clock_event_device *clk)
> > > +{
> > > +	struct mtk_clock_event_device *evt = to_mtk_clk(clk);
> > > +
> > > +	mtk_clkevt_time_stop(evt, GPT_CLK_EVT);
> > > +
> > > +	switch (mode) {
> > > +	case CLOCK_EVT_MODE_PERIODIC:
> > > +		mtk_clkevt_time_setup(evt, evt->ticks_per_jiffy, GPT_CLK_EVT);
> > > +		mtk_clkevt_time_start(evt, true, GPT_CLK_EVT);
> > > +		break;
> > > +	case CLOCK_EVT_MODE_ONESHOT:
> > > +		mtk_clkevt_time_start(evt, false, GPT_CLK_EVT);
> > 
> > Why start the timer here? The code will call set next event right away.
> > 
> > > +		break;
> > > +	case CLOCK_EVT_MODE_UNUSED:
> > > +	case CLOCK_EVT_MODE_SHUTDOWN:
> > > +	default:
> > > +		/* No more interrupts will occur as source is disabled */
> > > +		break;
> > > +	}
> > > +}
> > 
> > Looks good otherwise.
> 
> Hi Thomas,
> 
> Can I consider the 8.1 patch (the one taking into account your comment) as
> acked-by ?

Yes

  reply	other threads:[~2014-06-16  7:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-11 12:34 [PATCH v8 0/7] arm: Add basic support for Mediatek Cortex-A7 SoCs Matthias Brugger
2014-06-11 12:34 ` [PATCH v8 1/7] of: Provide function to request and map memory Matthias Brugger
2014-06-11 12:34 ` [PATCH v8 2/7] clocksource: Add support for the Mediatek SoCs Matthias Brugger
2014-06-11 18:14   ` Thomas Gleixner
2014-06-12 18:43     ` [PATCH v8.1] " Matthias Brugger
2014-06-15 21:34     ` [PATCH v8 2/7] " Daniel Lezcano
2014-06-16  7:43       ` Thomas Gleixner [this message]
2014-06-11 12:34 ` [PATCH v8 3/7] dt-bindings: add mtk-timer bindings Matthias Brugger
2014-06-11 12:34 ` [PATCH v8 4/7] vendor-prefixes: add prefix for Mediaktek Inc Matthias Brugger
2014-06-11 12:38   ` Geert Uytterhoeven
2014-06-11 12:34 ` [PATCH v8 5/7] arm: add basic support for Mediatek MT6589 boards Matthias Brugger
2014-06-11 12:34 ` [PATCH v8 6/7] dt-bindings: add documentation for Mediatek SoC Matthias Brugger
2014-06-11 12:34 ` [PATCH v8 7/7] arm: mediatek: add dts for Aquaris5 mobile phone Matthias Brugger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.10.1406160943370.5170@nanos \
    --to=tglx@linutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox