Home
last modified time | relevance | path

Searched hist:"8 ff064521f97554cd9bc95af8902485e97131c78" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/sound/arm/
H A Dpxa2xx-ac97-regs.h8ff064521f97554cd9bc95af8902485e97131c78 Wed Sep 18 03:52:31 CDT 2019 Arnd Bergmann <arnd@arndb.de> 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>
H A Dpxa2xx-ac97-lib.cdiff 8ff064521f97554cd9bc95af8902485e97131c78 Wed Sep 18 03:52:31 CDT 2019 Arnd Bergmann <arnd@arndb.de> 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>
H A Dpxa2xx-ac97.cdiff 8ff064521f97554cd9bc95af8902485e97131c78 Wed Sep 18 03:52:31 CDT 2019 Arnd Bergmann <arnd@arndb.de> 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>