diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-05-12 22:29:14 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-05-12 22:29:14 +0200 |
commit | 5aaca7a7a5db157530d195c4b93c8fc4682f8a48 (patch) | |
tree | 1c9a2a7e898c8a460bc10d7f3c5c8308188c0072 /arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c | |
parent | 8c6b0ef2ea1bb42cd72d987389297f66cd25790b (diff) | |
parent | 9404ef02974a5411687b6c1b8ef3984305620e02 (diff) | |
download | talos-obmc-linux-5aaca7a7a5db157530d195c4b93c8fc4682f8a48.tar.gz talos-obmc-linux-5aaca7a7a5db157530d195c4b93c8fc4682f8a48.zip |
Merge branch 'linus' into x86/urgent
Diffstat (limited to 'arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c')
-rw-r--r-- | arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c b/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c index ab96a2d7f4c4..11769b55438c 100644 --- a/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c +++ b/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c @@ -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); @@ -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) |