Messages in this thread | | | Subject | Re: [PATCH 1/4] h8300: clocksource: Use overflow interrupt | From | Daniel Lezcano <> | Date | Thu, 12 Nov 2015 17:50:47 +0100 |
| |
On 11/11/2015 03:50 PM, Yoshinori Sato wrote: > Overflow interrupt is used for moving up of a count. > > Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> > ---
[ ... ]
> @@ -118,6 +119,7 @@ static struct timer16_priv timer16_priv = { > .enable = timer16_enable, > .disable = timer16_disable, > .mask = CLOCKSOURCE_MASK(sizeof(unsigned long) * 8), > + .max_cycles = 0xffffffff,
This is computed automatically when registering the clocksource.
clocksource_register_hz __clocksource_register_scale __clocksource_update_freq_scale clocksource_update_max_deferment => clocks_calc_max_nsecs
> .flags = CLOCK_SOURCE_IS_CONTINUOUS, > }, > };
[ ... ]
-- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
| |