Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP2+: remove redundant sysconfig context restore
@ 2012-04-11  8:34 Tarun Kanti DebBarma
  2012-04-11  8:43 ` Shilimkar, Santosh
  2012-04-12  0:34 ` Kevin Hilman
  0 siblings, 2 replies; 4+ messages in thread
From: Tarun Kanti DebBarma @ 2012-04-11  8:34 UTC (permalink / raw)
  To: linux-omap
  Cc: tony, khilman, santosh.shilimkar, rnayak, b-cousson,
	Tarun Kanti DebBarma

Since hwmod framework now manages sysconfig context save/restore
there is no more need to touch this register in driver. Hence,
remove restore of sysconfig register in omap_timer_restore_context.
This was causing incorrect context restore of sysconfig register.

Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
---
 arch/arm/plat-omap/dmtimer.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c
index 652139c..15e7882 100644
--- a/arch/arm/plat-omap/dmtimer.c
+++ b/arch/arm/plat-omap/dmtimer.c
@@ -82,8 +82,6 @@ static void omap_dm_timer_write_reg(struct omap_dm_timer *timer, u32 reg,
 
 static void omap_timer_restore_context(struct omap_dm_timer *timer)
 {
-	__raw_writel(timer->context.tiocp_cfg,
-			timer->io_base + OMAP_TIMER_OCP_CFG_OFFSET);
 	if (timer->revision == 1)
 		__raw_writel(timer->context.tistat, timer->sys_stat);
 
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-12  4:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-11  8:34 [PATCH] ARM: OMAP2+: remove redundant sysconfig context restore Tarun Kanti DebBarma
2012-04-11  8:43 ` Shilimkar, Santosh
2012-04-12  0:34 ` Kevin Hilman
2012-04-12  4:52   ` DebBarma, Tarun Kanti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox