[alsa-devel] [PATCH 18/46] ARM: pxa: corgi: use gpio descriptors for audio
Robert Jarzmik
robert.jarzmik at free.fr
Mon Oct 28 21:56:56 CET 2019
Arnd Bergmann <arnd at arndb.de> writes:
> The audio driver should not use a hardwired gpio number
> from the header. Change it to use a lookup table.
>
> Cc: Mark Brown <broonie at kernel.org>
> Cc: alsa-devel at alsa-project.org
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> @@ -41,6 +40,8 @@
> static int corgi_jack_func;
> static int corgi_spk_func;
>
> +struct gpio_desc *gpiod_mute_l, *gpiod_mute_r, *gpiod_apm_on,
> *gpiod_mic_bias;
Can't this be static ?
Otherwise :
Acked-by: Robert Jarzmik <robert.jarzmik at free.fr>
Cheers.
--
Robert
More information about the Alsa-devel
mailing list