[PATCH 1/1] pinctrl: at91: fix typo on PULL_UP

Linus Walleij linus.walleij at linaro.org
Wed Oct 24 03:45:19 EDT 2012


On Tue, Oct 23, 2012 at 6:28 PM, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj at jcrosoft.com> wrote:

> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> Cc: Ludovic Desroches <ludovic.desroches at atmel.com>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> ---
>  drivers/pinctrl/pinctrl-at91.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
> index c87c2c5..0757e94 100644
> --- a/drivers/pinctrl/pinctrl-at91.c
> +++ b/drivers/pinctrl/pinctrl-at91.c
> @@ -58,7 +58,7 @@ static struct at91_gpio_chip *gpio_chips[MAX_GPIO_BANKS];
>
>  static int gpio_banks;
>
> -#define PULL_UP                (0 << 1)
> +#define PULL_UP                (1 << 0)

Makes perfect sense. Shall I just apply this to the at91 branch too?

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list