Re: [PATCH v1 1/2] clocksource/drivers/tegra: Cycles can't be 0

2019-06-17 Thread Dmitry Osipenko
17.06.2019 12:21, Thierry Reding пишет: > On Mon, Jun 17, 2019 at 02:47:43AM +0300, Dmitry Osipenko wrote: >> The minimum number of "cycles" is limited to 1 by >> clockevents_config_and_register(). > > Looks to me like cycles also depends on the multiplier and shift that > are computed for the

Re: [PATCH v1 1/2] clocksource/drivers/tegra: Cycles can't be 0

2019-06-17 Thread Thierry Reding
On Mon, Jun 17, 2019 at 02:47:43AM +0300, Dmitry Osipenko wrote: > The minimum number of "cycles" is limited to 1 by > clockevents_config_and_register(). Looks to me like cycles also depends on the multiplier and shift that are computed for the clock source. It looks like the multiplier will

[PATCH v1 1/2] clocksource/drivers/tegra: Cycles can't be 0

2019-06-16 Thread Dmitry Osipenko
The minimum number of "cycles" is limited to 1 by clockevents_config_and_register(). Signed-off-by: Dmitry Osipenko --- drivers/clocksource/timer-tegra.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/clocksource/timer-tegra.c b/drivers/clocksource/timer-tegra.c