diff options
author | Arnd Bergmann | 2019-09-18 10:52:31 +0200 |
---|---|---|
committer | Arnd Bergmann | 2022-05-07 22:55:49 +0200 |
commit | 8ff064521f97554cd9bc95af8902485e97131c78 (patch) | |
tree | b0656512e6080242a0f9371ed057cd6e5c46e7bc /sound/soc/pxa | |
parent | 4d2dba6b6e7b697bba7e8167ab8b0ac8b3df492c (diff) |
ASoC: pxa: ac97: use normal MMIO accessors
To avoid dereferencing hardwired constant pointers from a global header
file, change the driver to use devm_platform_ioremap_resource for getting
an __iomem pointer, and then using readl/writel on that.
Each pointer dereference gets changed by a search&replace, which leads
to a few overlong lines, but seems less risky than trying to clean up
the code at the same time.
Cc: alsa-devel@alsa-project.org
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'sound/soc/pxa')
0 files changed, 0 insertions, 0 deletions