Message ID | 4A3E11D6.5000402@juno.dti.ne.jp (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Sun, Jun 21, 2009 at 7:56 PM, Shin-ichiro KAWASAKI<kawasaki@juno.dti.ne.jp> wrote: > Avoid undocumented vague TMU behavior when zero value is set to TCOR. > > Signed-off-by: Shin-ichiro KAWASAKI <kawasaki@juno.dti.ne.jp> Seems to work just fine on my Migo-R board, thanks! Acked-by: Magnus Damm <damm@igel.co.jp> -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Jun 24, 2009 at 08:40:19PM +0900, Magnus Damm wrote: > On Sun, Jun 21, 2009 at 7:56 PM, Shin-ichiro > KAWASAKI<kawasaki@juno.dti.ne.jp> wrote: > > Avoid undocumented vague TMU behavior when zero value is set to TCOR. > > > > Signed-off-by: Shin-ichiro KAWASAKI <kawasaki@juno.dti.ne.jp> > > Seems to work just fine on my Migo-R board, thanks! > > Acked-by: Magnus Damm <damm@igel.co.jp> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c index d6ea439..84cc48e 100644 --- a/drivers/clocksource/sh_tmu.c +++ b/drivers/clocksource/sh_tmu.c @@ -158,7 +158,7 @@ static void sh_tmu_set_next(struct sh_tmu_priv *p, unsigned long delta, if (periodic) sh_tmu_write(p, TCOR, delta); else - sh_tmu_write(p, TCOR, 0); + sh_tmu_write(p, TCOR, 0xffffffff); sh_tmu_write(p, TCNT, delta);