diff options
author | Tarun Kanti DebBarma <tarun.kanti@ti.com> | 2011-09-20 17:00:21 +0530 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-09-21 15:50:31 -0700 |
commit | ffe07ceae1ae4b00b776c59694eddd9dd615dcea (patch) | |
tree | ea5192202119ce30d24b6dbc06ab734ca41fe98f /arch/arm/plat-omap/include/plat/dmtimer.h | |
parent | 3392cdd33a0419e3226910a08b8bdc43b56c95d0 (diff) | |
download | talos-op-linux-ffe07ceae1ae4b00b776c59694eddd9dd615dcea.tar.gz talos-op-linux-ffe07ceae1ae4b00b776c59694eddd9dd615dcea.zip |
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/plat/dmtimer.h')
-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 2ac7538541b2..4e3a32609abf 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; |