Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339927
b: refs/heads/master
c: 1eaff71
h: refs/heads/master
i:
  339925: c6466ca
  339923: 0cb38af
  339919: caf4057
v: v3
  • Loading branch information
Jon Hunter committed Nov 12, 2012
1 parent aa25453 commit 1fcc561
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d3004bb43de180c2f6e965716a3abe9b43c8b861
refs/heads/master: 1eaff71017d97ce2bc8e22b9a5cf11e5c6dd6c78
5 changes: 1 addition & 4 deletions trunk/arch/arm/plat-omap/dmtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,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.tisr, timer->irq_stat);
omap_dm_timer_write_reg(timer, OMAP_TIMER_WAKEUP_EN_REG,
timer->context.twer);
omap_dm_timer_write_reg(timer, OMAP_TIMER_COUNTER_REG,
Expand Down Expand Up @@ -440,7 +439,6 @@ int omap_dm_timer_stop(struct omap_dm_timer *timer)
*/
timer->context.tclr =
omap_dm_timer_read_reg(timer, OMAP_TIMER_CTRL_REG);
timer->context.tisr = __raw_readl(timer->irq_stat);
omap_dm_timer_disable(timer);
return 0;
}
Expand Down Expand Up @@ -684,8 +682,7 @@ int omap_dm_timer_write_status(struct omap_dm_timer *timer, unsigned int value)
return -EINVAL;

__omap_dm_timer_write_status(timer, value);
/* Save the context */
timer->context.tisr = value;

return 0;
}
EXPORT_SYMBOL_GPL(omap_dm_timer_write_status);
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/plat-omap/include/plat/dmtimer.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ struct omap_dm_timer;

struct timer_regs {
u32 tidr;
u32 tisr;
u32 tier;
u32 twer;
u32 tclr;
Expand Down

0 comments on commit 1fcc561

Please sign in to comment.