Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100750
b: refs/heads/master
c: 1219715
h: refs/heads/master
v: v3
  • Loading branch information
Ke Wei authored and Lennert Buytenhek committed Jun 22, 2008
1 parent 488332c commit e2fe24d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 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: ab6d15d50637fc25ee941710b23fed09ceb28db3
refs/heads/master: 1219715de70956557b9dedf3ee021a73d4f4ec52
6 changes: 3 additions & 3 deletions trunk/arch/arm/plat-orion/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ orion_clkevt_next_event(unsigned long delta, struct clock_event_device *dev)
/*
* Clear and enable clockevent timer interrupt.
*/
writel(~BRIDGE_INT_TIMER1, BRIDGE_CAUSE);
writel(BRIDGE_INT_TIMER1_CLR, BRIDGE_CAUSE);

u = readl(BRIDGE_MASK);
u |= BRIDGE_INT_TIMER1;
Expand Down Expand Up @@ -138,7 +138,7 @@ orion_clkevt_mode(enum clock_event_mode mode, struct clock_event_device *dev)
/*
* ACK pending timer interrupt.
*/
writel(~BRIDGE_INT_TIMER1, BRIDGE_CAUSE);
writel(BRIDGE_INT_TIMER1_CLR, BRIDGE_CAUSE);

}
local_irq_restore(flags);
Expand All @@ -159,7 +159,7 @@ static irqreturn_t orion_timer_interrupt(int irq, void *dev_id)
/*
* ACK timer interrupt and call event handler.
*/
writel(~BRIDGE_INT_TIMER1, BRIDGE_CAUSE);
writel(BRIDGE_INT_TIMER1_CLR, BRIDGE_CAUSE);
orion_clkevt.event_handler(&orion_clkevt);

return IRQ_HANDLED;
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-arm/arch-orion5x/orion5x.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
#define BRIDGE_MASK ORION5X_BRIDGE_REG(0x114)
#define BRIDGE_INT_TIMER0 0x0002
#define BRIDGE_INT_TIMER1 0x0004
#define BRIDGE_INT_TIMER1_CLR (~0x0004)
#define MAIN_IRQ_CAUSE ORION5X_BRIDGE_REG(0x200)
#define MAIN_IRQ_MASK ORION5X_BRIDGE_REG(0x204)

Expand Down

0 comments on commit e2fe24d

Please sign in to comment.