Skip to content

Commit

Permalink
Input: atmel_mxt_ts - return IRQ_NONE when interrupt handler fails
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Acked-by: Benson Leung <bleung@chromium.org>
Acked-by: Yufeng Shen <miletus@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
  • Loading branch information
Nick Dyer authored and Dmitry Torokhov committed May 19, 2014
1 parent fb5e4c3 commit 8d4e163
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/input/touchscreen/atmel_mxt_ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ static irqreturn_t mxt_interrupt(int irq, void *dev_id)
do {
if (mxt_read_message(data, &message)) {
dev_err(dev, "Failed to read message\n");
goto end;
return IRQ_NONE;
}

reportid = message.reportid;
Expand All @@ -617,7 +617,6 @@ static irqreturn_t mxt_interrupt(int irq, void *dev_id)
input_sync(data->input_dev);
}

end:
return IRQ_HANDLED;
}

Expand Down

0 comments on commit 8d4e163

Please sign in to comment.