Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96416
b: refs/heads/master
c: 1c9e919
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Garzik authored and Ralf Baechle committed May 12, 2008
1 parent 65338cf commit 44af88c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: a64063046026729a69ad06c94453f4ddaa562d60
refs/heads/master: 1c9e919f48a49fda2ff2c607891cc17024e75122
5 changes: 1 addition & 4 deletions trunk/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ static irqreturn_t hwbutton_handler(int irq, void *data)
struct hwbutton_interrupt *hirq = data;
unsigned long cic_ext = *CIC_EXT_CFG_REG;

if (irq != hirq->irq)
return IRQ_NONE;

if (CIC_EXT_IS_ACTIVE_HI(cic_ext, hirq->eirq)) {
/* Interrupt: pin is now HI */
CIC_EXT_SET_ACTIVE_LO(cic_ext, hirq->eirq);
Expand Down Expand Up @@ -164,7 +161,7 @@ static int msp_hwbutton_register(struct hwbutton_interrupt *hirq)
*CIC_EXT_CFG_REG = cic_ext;

return request_irq(hirq->irq, hwbutton_handler, IRQF_DISABLED,
hirq->name, (void *)hirq);
hirq->name, hirq);
}

static int __init msp_hwbutton_setup(void)
Expand Down

0 comments on commit 44af88c

Please sign in to comment.