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 <broonie@kernel.org> Acked-by:
Robert Jarzmik <robert.jarzmik@free.fr> Reviewed-by:
Linus Walleij <linus.walleij@linaro.org> Cc: alsa-devel@alsa-project.org Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
Showing
- arch/arm/mach-pxa/eseries.c 32 additions, 0 deletionsarch/arm/mach-pxa/eseries.c
- sound/soc/pxa/e740_wm9705.c 18 additions, 17 deletionssound/soc/pxa/e740_wm9705.c
- sound/soc/pxa/e750_wm9705.c 14 additions, 17 deletionssound/soc/pxa/e750_wm9705.c
- sound/soc/pxa/e800_wm9712.c 14 additions, 17 deletionssound/soc/pxa/e800_wm9712.c
Loading
Please register or sign in to comment