Input: exc3000 - split MT event handling from IRQ handler
authorLucas Stach <l.stach@pengutronix.de>
Mon, 8 Mar 2021 05:10:57 +0000 (21:10 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 8 Mar 2021 05:56:46 +0000 (21:56 -0800)
commita63d0120a2dd89eabf24b415b27208e190e989b0
tree31a0817c64a4e56e820f433f924724e9348c71d6
parent4c47097f8514e4b35a31e04e33172d0193cb38ed
Input: exc3000 - split MT event handling from IRQ handler

Split out the multitouch event handling into its own function to allow other
events to be handled in the IRQ handler without disturbing the MT handling.
Now that things are separated a bit more, stop treating vendor data requests
special by cehcking for a locked mutex, but just look at the event ID to
figure out if the message is a MT report or a vendor data query reply.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Link: https://lore.kernel.org/r/20210125182527.1225245-2-l.stach@pengutronix.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/exc3000.c