forked from luck/tmp_suning_uos_patched
103bb56a28
As we have a lot of timers on this platform, we can have potentially all the timers enabled in the DT, so we don't want to start the timer for every probe otherwise they will be running for nothing as only one will be used. Start the timer only when setting the mode or when the clocksource is enabled. Tested-by: Benjamin Gaignard <benjamin.gaignard@st.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Benjamin Gaignard <benjamin.gaignard@st.com> Cc: Alexandre Torgue <alexandre.torgue@st.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1515418139-23276-20-git-send-email-daniel.lezcano@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org> |
||
---|---|---|
.. | ||
acpi_pm.c | ||
arc_timer.c | ||
arm_arch_timer.c | ||
arm_global_timer.c | ||
armv7m_systick.c | ||
asm9260_timer.c | ||
bcm_kona_timer.c | ||
bcm2835_timer.c | ||
cadence_ttc_timer.c | ||
clksrc_st_lpc.c | ||
clksrc-dbx500-prcmu.c | ||
clps711x-timer.c | ||
cs5535-clockevt.c | ||
dummy_timer.c | ||
dw_apb_timer_of.c | ||
dw_apb_timer.c | ||
em_sti.c | ||
exynos_mct.c | ||
fsl_ftm_timer.c | ||
h8300_timer8.c | ||
h8300_timer16.c | ||
h8300_tpu.c | ||
i8253.c | ||
jcore-pit.c | ||
Kconfig | ||
Makefile | ||
meson6_timer.c | ||
metag_generic.c | ||
mips-gic-timer.c | ||
mmio.c | ||
mps2-timer.c | ||
mtk_timer.c | ||
mxs_timer.c | ||
nomadik-mtu.c | ||
numachip.c | ||
owl-timer.c | ||
pxa_timer.c | ||
qcom-timer.c | ||
renesas-ostm.c | ||
rockchip_timer.c | ||
samsung_pwm_timer.c | ||
scx200_hrt.c | ||
sh_cmt.c | ||
sh_mtu2.c | ||
sh_tmu.c | ||
sun4i_timer.c | ||
tango_xtal.c | ||
tcb_clksrc.c | ||
tegra20_timer.c | ||
time-armada-370-xp.c | ||
time-efm32.c | ||
time-lpc32xx.c | ||
time-orion.c | ||
time-pistachio.c | ||
timer-atlas7.c | ||
timer-atmel-pit.c | ||
timer-atmel-st.c | ||
timer-digicolor.c | ||
timer-fttmr010.c | ||
timer-imx-gpt.c | ||
timer-imx-tpm.c | ||
timer-integrator-ap.c | ||
timer-keystone.c | ||
timer-nps.c | ||
timer-of.c | ||
timer-of.h | ||
timer-oxnas-rps.c | ||
timer-prima2.c | ||
timer-probe.c | ||
timer-sp.h | ||
timer-sp804.c | ||
timer-sprd.c | ||
timer-stm32.c | ||
timer-sun5i.c | ||
timer-ti-32k.c | ||
timer-u300.c | ||
versatile.c | ||
vf_pit_timer.c | ||
vt8500_timer.c | ||
zevio-timer.c |