On Mon, Mar 28, 2011 at 05:29:06PM +0530, Rajeev Kumar wrote: > We should return IRQ_NONE from interrupt handler in case data is not > avail for keyboard > Applied, thank you Rajeev. > Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@xxxxxx> > --- > drivers/input/keyboard/spear-keyboard.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > 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) { > -- > 1.6.0.2 > -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html