Input: touchscreen: use wrapper for pxa2xx ac97 registers
authorArnd Bergmann <arnd@arndb.de>
Wed, 18 Sep 2019 07:55:23 +0000 (09:55 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 7 May 2022 20:55:48 +0000 (22:55 +0200)
commite217b085a1ac1c4108fe632bdaa08ea5b0ecd145
tree51503b12319c003115480073d714399ab700a76c
parent7b8a0b90b6597fb6853383d28db2b1b0ebac0924
Input: touchscreen: use wrapper for pxa2xx ac97 registers

To avoid a dependency on the pxa platform header files with
hardcoded registers, change the driver to call a wrapper
in the pxa2xx-ac97-lib that encapsulates all the other
ac97 stuff.

Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: linux-input@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/input/touchscreen/Kconfig
drivers/input/touchscreen/mainstone-wm97xx.c
drivers/input/touchscreen/zylonite-wm97xx.c
include/sound/pxa2xx-lib.h
sound/arm/pxa2xx-ac97-lib.c