Re: [PATCH 2/5] pinctrl: meson-gxl: Fix typo in AO SPDIF pins

From: Jerome Brunet
Date: Wed May 24 2017 - 04:42:24 EST


On Wed, 2017-05-24 at 10:20 +0200, Neil Armstrong wrote:
> The AO SPDIF pins were incorrectly defined with the EE pin offset.
>

Thx for catching this !
Reviewed-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx>

> Cc: Jerome Brunet <jbrunet@xxxxxxxxxxxx>
> Fixes: b840d649f9ec ("pinctrl: meson: gxl: add spdif output pins")
> Signed-off-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
> ---
> Âdrivers/pinctrl/meson/pinctrl-meson-gxl.c | 4 ++--
> Â1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxl.c
> b/drivers/pinctrl/meson/pinctrl-meson-gxl.c
> index 9af8e6a..454d73f 100644
> --- a/drivers/pinctrl/meson/pinctrl-meson-gxl.c
> +++ b/drivers/pinctrl/meson/pinctrl-meson-gxl.c
> @@ -279,8 +279,8 @@
> Âstatic const unsigned int i2s_out_ch23_ao_pins[] = { PIN(GPIOAO_8, 0) };
> Âstatic const unsigned int i2s_out_ch45_ao_pins[] = { PIN(GPIOAO_9, 0) };
> Â
> -static const unsigned int spdif_out_ao_6_pins[] = { PIN(GPIOAO_6,
> EE_OFF) };
> -static const unsigned int spdif_out_ao_9_pins[] = { PIN(GPIOAO_9,
> EE_OFF) };
> +static const unsigned int spdif_out_ao_6_pins[] = { PIN(GPIOAO_6, 0)
> };
> +static const unsigned int spdif_out_ao_9_pins[] = { PIN(GPIOAO_9, 0)
> };
> Â
> Âstatic struct meson_pmx_group meson_gxl_periphs_groups[] = {
> Â GPIO_GROUP(GPIOZ_0, EE_OFF),