Message ID | 1301313546-24420-1-git-send-email-rajeev-dlh.kumar@st.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 799a2a215ed7f9398a8d528767e64b8e39904105 |
Headers | show |
diff --git a/drivers/input/keyboard/spear-keyboard.c b/drivers/input/keyboard/spear-keyboard.c index f18dc67..c6ab1df 100644 --- a/drivers/input/keyboard/spear-keyboard.c +++ b/drivers/input/keyboard/spear-keyboard.c @@ -70,7 +70,7 @@ static irqreturn_t spear_kbd_interrupt(int irq, void *dev_id) u8 sts, val; sts = readb(kbd->io_base + STATUS_REG); - if (sts & DATA_AVAIL) + if (!(sts & DATA_AVAIL)) return IRQ_NONE; if (kbd->last_key != KEY_RESERVED) {