From: Arnd Bergmann Date: Tue, 17 Sep 2019 12:25:44 +0000 (+0200) Subject: ARM: pxa: eseries: use gpio lookup for audio X-Git-Tag: howlett/maple/20220722_2~367^2~27 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=216459838355b66a7dc617bfb727878dd8631431;p=users%2Fjedix%2Flinux-maple.git ARM: pxa: eseries: use gpio lookup for audio The three eseries machines have very similar drivers for audio, all using the mach/eseries-gpio.h header for finding the gpio numbers. Change these to use gpio descriptors to avoid the header file dependency. I convert the _OFF gpio numbers into GPIO_ACTIVE_LOW ones for consistency here. Acked-by: Mark Brown Acked-by: Robert Jarzmik Reviewed-by: Linus Walleij Cc: alsa-devel@alsa-project.org Signed-off-by: Arnd Bergmann --- diff --git a/arch/arm/mach-pxa/eseries.c b/arch/arm/mach-pxa/eseries.c index 1e9d6bbf45555..0955c7b23014e 100644 --- a/arch/arm/mach-pxa/eseries.c +++ b/arch/arm/mach-pxa/eseries.c @@ -24,6 +24,7 @@ #include #include #include +#include #include