1
0
Fork 0
alistair23-linux/arch/m68k/coldfire
Nicolai Stange 33ae7a9b6c m68k/coldfire/pit: Set ->min_delta_ticks and ->max_delta_ticks
In preparation for making the clockevents core NTP correction aware,
all clockevent device drivers must set ->min_delta_ticks and
->max_delta_ticks rather than ->min_delta_ns and ->max_delta_ns: a
clockevent device's rate is going to change dynamically and thus, the
ratio of ns to ticks ceases to stay invariant.

Make the m68k arch's coldfire clockevent driver initialize these fields
properly.

This patch alone doesn't introduce any change in functionality as the
clockevents core still looks exclusively at the (untouched) ->min_delta_ns
and ->max_delta_ns. As soon as this has changed, a followup patch will
purge the initialization of ->min_delta_ns and ->max_delta_ns from this
driver.

Cc: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Greg Ungerer <gerg@linux-m68k.org>
CC: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@lists.linux-m68k.org
Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-04-14 13:11:10 -07:00
..
Makefile m68k: add Sysam AMCORE open board support 2016-12-05 08:53:27 +10:00
amcore.c m68k: add Sysam AMCORE open board support 2016-12-05 08:53:27 +10:00
cache.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
clk.c m68k: let clk_disable() return immediately if clk is NULL 2016-09-26 12:02:59 +10:00
device.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
dma.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
dma_timer.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
entry.S m68k: fix crufty ColdFire intro comments 2014-09-29 09:18:34 +10:00
firebee.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
gpio.c m68k/gpio: remove arch specific sysfs bus device 2016-04-11 12:03:18 +10:00
head.S m68k: report correct FPU type on ColdFire MMU platforms 2016-09-26 12:02:58 +10:00
intc-2.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
intc-525x.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
intc-5249.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
intc-5272.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
intc-simr.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
intc.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
m53xx.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m54xx.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m520x.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m523x.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m525x.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m527x.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m528x.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m5206.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m5249.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m5272.c m68k: Assorted spelling fixes 2016-07-03 14:05:28 +02:00
m5307.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m5407.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m5441x.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
mcf8390.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
nettel.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
pci.c m68k: Assorted spelling fixes 2016-07-03 14:05:28 +02:00
pit.c m68k/coldfire/pit: Set ->min_delta_ticks and ->max_delta_ticks 2017-04-14 13:11:10 -07:00
reset.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
sltimers.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
timers.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
vectors.c m68k: fix crufty ColdFire intro comments 2014-09-29 09:18:34 +10:00