]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: OMAP2+: timer: add probe for clocksources
authorTero Kristo <t-kristo@ti.com>
Thu, 16 Jun 2016 12:25:18 +0000 (15:25 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 17 Jun 2016 09:46:45 +0000 (02:46 -0700)
commit970f9091d25df14e9540ec7ff48a2f709e284cd1
treea4186b2944597b219300ceaad8561951e011f847
parentef5bdccf6d4363fd934035e0b1ca8445975e1d89
ARM: OMAP2+: timer: add probe for clocksources

A few platforms are currently missing clocksource_probe() completely
in their time_init functionality. On OMAP3430 for example, this is
causing cpuidle to be pretty much dead, as the counter32k is not
going to be registered and instead a gptimer is used as a clocksource.
This will tick in periodic mode, preventing any deeper idle states.

While here, also drop one unnecessary check for populated DT before
existing clocksource_probe() call.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/timer.c