diff options
author | Tarun Kanti DebBarma <tarun.kanti@ti.com> | 2011-09-20 11:30:21 (GMT) |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-09-21 22:50:31 (GMT) |
commit | ffe07ceae1ae4b00b776c59694eddd9dd615dcea (patch) | |
tree | ea5192202119ce30d24b6dbc06ab734ca41fe98f /arch/arm/plat-omap/include | |
parent | 3392cdd33a0419e3226910a08b8bdc43b56c95d0 (diff) | |
download | linux-fsl-qoriq-ffe07ceae1ae4b00b776c59694eddd9dd615dcea.tar.xz |
ARM: OMAP: dmtimer: pm_runtime support
Add pm_runtime feature to dmtimer whereby *_runtime_get_sync()
is called within omap_dm_timer_enable(), pm_runtime_put()
is called in omap_dm_timer_disable(). In addition to calling
pm_runtime_enable, we are calling pm_runtime_irq_safe so that
they can be called from interrupt context.
Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Signed-off-by: Partha Basak <p-basak2@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Cousson, Benoit <b-cousson@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r-- | arch/arm/plat-omap/include/plat/dmtimer.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h b/arch/arm/plat-omap/include/plat/dmtimer.h index 2ac7538..4e3a326 100644 --- a/arch/arm/plat-omap/include/plat/dmtimer.h +++ b/arch/arm/plat-omap/include/plat/dmtimer.h @@ -243,7 +243,6 @@ struct omap_dm_timer { unsigned long rate; unsigned reserved:1; - unsigned enabled:1; unsigned posted:1; struct platform_device *pdev; struct list_head node; |