Input: atmel_mxt_ts - return IRQ_NONE when interrupt handler fails
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>
This commit is contained in:
parent
fb5e4c3ee1
commit
8d4e163906
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue