Re: [PATCH 18/46] ARM: pxa: corgi: use gpio descriptors for audio

From: Robert Jarzmik
Date: Mon Oct 28 2019 - 16:57:01 EST


Arnd Bergmann <arnd@xxxxxxxx> 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@xxxxxxxxxx>
> Cc: alsa-devel@xxxxxxxxxxxxxxxx
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> @@ -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@xxxxxxx>

Cheers.

--
Robert