Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288070
b: refs/heads/master
c: 94ed783
h: refs/heads/master
v: v3
  • Loading branch information
Roland Stigge committed Feb 27, 2012
1 parent dd3a906 commit 8e19cbf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 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: 35dd0a75d4a382e7f769dd0277732e7aa5235718
refs/heads/master: 94ed7830cba4dce57b18a2926b5d826bfd184bd6
11 changes: 10 additions & 1 deletion trunk/arch/arm/mach-lpc32xx/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,18 @@ static int lpc32xx_irq_wake(struct irq_data *d, unsigned int state)

if (state)
eventreg |= lpc32xx_events[d->irq].mask;
else
else {
eventreg &= ~lpc32xx_events[d->irq].mask;

/*
* When disabling the wakeup, clear the latched
* event
*/
__raw_writel(lpc32xx_events[d->irq].mask,
lpc32xx_events[d->irq].
event_group->rawstat_reg);
}

__raw_writel(eventreg,
lpc32xx_events[d->irq].event_group->enab_reg);

Expand Down

0 comments on commit 8e19cbf

Please sign in to comment.