aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Dyer <[email protected]>2014-05-18 23:00:56 -0700
committerDmitry Torokhov <[email protected]>2014-05-18 23:27:22 -0700
commit8d4e1639066ff27e8c2c51b69b5ce2308da5c41c (patch)
tree7126fcd8192a62ba6f280f416fa68eee6146ad1b
parentfb5e4c3ee140b29e1935b4bbb19c319177bed231 (diff)
Input: atmel_mxt_ts - return IRQ_NONE when interrupt handler fails
Signed-off-by: Nick Dyer <[email protected]> Acked-by: Benson Leung <[email protected]> Acked-by: Yufeng Shen <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
-rw-r--r--drivers/input/touchscreen/atmel_mxt_ts.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c
index 65df362cf327..0cff8bb2ad75 100644
--- a/drivers/input/touchscreen/atmel_mxt_ts.c
+++ b/drivers/input/touchscreen/atmel_mxt_ts.c
@@ -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;
@@ -617,7 +617,6 @@ static irqreturn_t mxt_interrupt(int irq, void *dev_id)
input_sync(data->input_dev);
}
-end:
return IRQ_HANDLED;
}