提交 8d4e1639 编写于 作者: N Nick Dyer 提交者: Dmitry Torokhov

Input: atmel_mxt_ts - return IRQ_NONE when interrupt handler fails

Signed-off-by: NNick Dyer <nick.dyer@itdev.co.uk>
Acked-by: NBenson Leung <bleung@chromium.org>
Acked-by: NYufeng Shen <miletus@chromium.org>
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 fb5e4c3e
...@@ -590,7 +590,7 @@ static irqreturn_t mxt_interrupt(int irq, void *dev_id) ...@@ -590,7 +590,7 @@ static irqreturn_t mxt_interrupt(int irq, void *dev_id)
do { do {
if (mxt_read_message(data, &message)) { if (mxt_read_message(data, &message)) {
dev_err(dev, "Failed to read message\n"); dev_err(dev, "Failed to read message\n");
goto end; return IRQ_NONE;
} }
reportid = message.reportid; reportid = message.reportid;
...@@ -617,7 +617,6 @@ static irqreturn_t mxt_interrupt(int irq, void *dev_id) ...@@ -617,7 +617,6 @@ static irqreturn_t mxt_interrupt(int irq, void *dev_id)
input_sync(data->input_dev); input_sync(data->input_dev);
} }
end:
return IRQ_HANDLED; return IRQ_HANDLED;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册