• Tero Kristo's avatar
    ARM: OMAP2+: timer: add probe for clocksources · 970f9091
    Tero Kristo authored
    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: default avatarTero Kristo <t-kristo@ti.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    970f9091
timer.c 20.2 KB