ARM: pxa: pxa2xx-ac97-lib: use IRQ resource
authorArnd Bergmann <arnd@arndb.de>
Tue, 10 Sep 2019 13:23:52 +0000 (15:23 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 19 Apr 2022 19:34:05 +0000 (21:34 +0200)
commit2548e6c76ebfae09f25f941ae172535cc918c906
treee38c17c1262167f535e1e357feef4edcfcfe2de7
parente86bd43bcfc579cf8935c1913e92cb76b4ba81c2
ARM: pxa: pxa2xx-ac97-lib: use IRQ resource

The pxa2xx-ac97-lib code is the last driver to use mach/irqs.h
for PXA. Almost everything already passes the interrupt as
a resource, so use it from there.

The one exception is the mxm8x10 machine, which apparently has
a resource-less device. Replacing it with the correct one
enables the driver here as well.

Cc: alsa-devel@alsa-project.org
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-pxa/mxm8x10.c
sound/arm/pxa2xx-ac97-lib.c