Message ID | 20201201123026.1416743-1-linus.walleij@linaro.org |
---|---|
State | Accepted |
Commit | 8c3b55a299c325830a987de21dab6a89ecb71164 |
Headers | show |
Series | [v3] Input: atmel_mxt_ts - Fix lost interrupts | expand |
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index e34984388791..109655547477 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c @@ -2185,11 +2185,11 @@ static int mxt_initialize(struct mxt_data *data) msleep(MXT_FW_RESET_TIME); } - error = mxt_acquire_irq(data); + error = mxt_check_retrigen(data); if (error) return error; - error = mxt_check_retrigen(data); + error = mxt_acquire_irq(data); if (error) return error;