diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-09-18 10:55:23 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-05-07 23:55:48 +0300 |
commit | e217b085a1ac1c4108fe632bdaa08ea5b0ecd145 (patch) | |
tree | 51503b12319c003115480073d714399ab700a76c /include/sound/pxa2xx-lib.h | |
parent | 7b8a0b90b6597fb6853383d28db2b1b0ebac0924 (diff) | |
download | linux-e217b085a1ac1c4108fe632bdaa08ea5b0ecd145.tar.xz |
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>
Diffstat (limited to 'include/sound/pxa2xx-lib.h')
-rw-r--r-- | include/sound/pxa2xx-lib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/pxa2xx-lib.h b/include/sound/pxa2xx-lib.h index 95100cff25d1..0a6f8dabf8c4 100644 --- a/include/sound/pxa2xx-lib.h +++ b/include/sound/pxa2xx-lib.h @@ -52,4 +52,8 @@ extern int pxa2xx_ac97_hw_resume(void); extern int pxa2xx_ac97_hw_probe(struct platform_device *dev); extern void pxa2xx_ac97_hw_remove(struct platform_device *dev); +/* modem registers, used by touchscreen driver */ +u32 pxa2xx_ac97_read_modr(void); +u32 pxa2xx_ac97_read_misr(void); + #endif |