input: touchscreen: mainstone: sync with zylonite driver
authorArnd Bergmann <arnd@arndb.de>
Thu, 12 Sep 2019 08:57:54 +0000 (10:57 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 7 May 2022 20:55:48 +0000 (22:55 +0200)
commit7b8a0b90b6597fb6853383d28db2b1b0ebac0924
tree2e32e4adba426a489f1c3e5c51ae515d7ca2c317
parentbb628a6eb1a1b6539dc5a250a4b0b51c14ea7045
input: touchscreen: mainstone: sync with zylonite driver

The two drivers are almost identical and can work on a variety
of hardware in principle. The mainstone driver supports additional
hardware, and the zylonite driver has a few cleanup patches.

Sync the two by adding the zylonite changes into the mainstone
one, and checking for the zylonite board to order to keep the
default behavior (interrupt enabled) there.

Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/input/touchscreen/mainstone-wm97xx.c