Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7d5ed90 authored by Shantanu Jain's avatar Shantanu Jain
Browse files

input: touchscreen: Add threaded irq support to Goodix driver



Add threaded irq support to Goodix touchscreen driver to reduce
the time spent with interrupts diabled to a bare minimum by
pushing the processing out into the kernel thread.

CRs-fixed: 563900
Change-Id: I3ade13181957d327ad9d0266b1999a4b0f2d8d1a
Signed-off-by: default avatarShantanu Jain <shjain@codeaurora.org>
parent 614d6d7e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1207,7 +1207,8 @@ static int gtp_request_irq(struct goodix_ts_data *ts)
	int ret;
	const u8 irq_table[] = GTP_IRQ_TAB;

	ret = request_irq(ts->client->irq, goodix_ts_irq_handler,
	ret = request_threaded_irq(ts->client->irq, NULL,
			goodix_ts_irq_handler,
			irq_table[ts->int_trigger_type],
			ts->client->name, ts);
	if (ret) {