public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: David Brownell <david-b@pacbell.net>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [patch 2.6.19-rc4-omap] omap GP timer:  HZ != 100
Date: Fri, 10 Nov 2006 01:36:05 +0200	[thread overview]
Message-ID: <20061109233605.GN16172@atomide.com> (raw)
In-Reply-To: <200611061017.28116.david-b@pacbell.net>

* David Brownell <david-b@pacbell.net> [061106 20:26]:
> Teach OMAP2 gp timer that HZ isn't always 100.
> 
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
> 
> --- a/arch/arm/mach-omap2/timer-gp.c
> +++ b/arch/arm/mach-omap2/timer-gp.c
> @@ -65,7 +65,7 @@ static void __init omap2_gp_timer_init(v
>  	BUG_ON(gptimer == NULL);
>  
>  	omap_dm_timer_set_source(gptimer, OMAP_TIMER_SRC_SYS_CLK);
> -	tick_period = clk_get_rate(omap_dm_timer_get_fclk(gptimer)) / 100;
> +	tick_period = clk_get_rate(omap_dm_timer_get_fclk(gptimer)) / HZ;
>  	tick_period -= 1;
>  
>  	setup_irq(omap_dm_timer_get_irq(gptimer), &omap2_gp_timer_irq);

Pushing today.

Tony

      reply	other threads:[~2006-11-09 23:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-06 18:17 [patch 2.6.19-rc4-omap] omap GP timer: HZ != 100 David Brownell
2006-11-09 23:36 ` Tony Lindgren [this message]

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=20061109233605.GN16172@atomide.com \
    --to=tony@atomide.com \
    --cc=david-b@pacbell.net \
    --cc=linux-omap-open-source@linux.omap.com \
    /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