Skip to content

Commit ba68878

Browse files
committed
ARM: OMAP: Fix dmtimer init for omap1
We need to enable PM runtime on omap1 also as otherwise we will get errors: omap_timer omap_timer.1: omap_dm_timer_probe: pm_runtime_get_sync failed! omap_timer: probe of omap_timer.1 failed with error -13 ... We are checking for OMAP_TIMER_NEEDS_RESET flag elsewhere so this is safe to do. Cc: Aaro Koskinen <aaro.koskinen@iki.fi> Cc: Keerthy <j-keerthy@ti.com> Cc: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent 7928b2c commit ba68878

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎arch/arm/plat-omap/dmtimer.c‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -888,11 +888,8 @@ static int omap_dm_timer_probe(struct platform_device *pdev)
888888
timer->irq = irq->start;
889889
timer->pdev = pdev;
890890

891-
/* Skip pm_runtime_enable for OMAP1 */
892-
if (!(timer->capability & OMAP_TIMER_NEEDS_RESET)) {
893-
pm_runtime_enable(dev);
894-
pm_runtime_irq_safe(dev);
895-
}
891+
pm_runtime_enable(dev);
892+
pm_runtime_irq_safe(dev);
896893

897894
if (!timer->reserved) {
898895
ret = pm_runtime_get_sync(dev);

0 commit comments

Comments
 (0)