Input: ads7846 - convert to full duplex
authorOleksij Rempel <o.rempel@pengutronix.de>
Thu, 12 Nov 2020 00:39:05 +0000 (16:39 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 18 Nov 2020 00:28:14 +0000 (16:28 -0800)
commit9c9509717b53e701469493a8d87ed42c7d782502
tree8b24443ea61f5c7c5909b507c2570299b8440d09
parente52cd628a03f72a547dbf90ccb703ee64800504a
Input: ads7846 - convert to full duplex

Starting with 3eac5c7e44f3 ("Input: ads7846 - extend the driver for ads7845
controller support"), the ads7845 was partially converted to full duplex
mode.

Since it is not touchscreen controller specific, it is better to extend
this conversion to cover entire driver. This will reduce CPU load and make
driver more readable.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20201110085041.16303-2-o.rempel@pengutronix.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ads7846.c