Skip to content

Commit

Permalink
pinctrl: meson-axg: fix the range of aobus bank
Browse files Browse the repository at this point in the history
The GPIOAO bank is range from GPIOAO_0 to GPIOAO_13.

Fixes: 83c5668 ("pinctrl: meson-axg: Add new pinctrl driver for Meson AXG SoC")
Reported-by: Xingyu Chen <xingyu.chen@amlogic.com>
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Yixun Lan authored and Linus Walleij committed May 2, 2018
1 parent 60cc43f commit b84e546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pinctrl/meson/pinctrl-meson-axg.c
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ static struct meson_bank meson_axg_periphs_banks[] = {

static struct meson_bank meson_axg_aobus_banks[] = {
/* name first last irq pullen pull dir out in */
BANK("AO", GPIOAO_0, GPIOAO_9, 0, 13, 0, 16, 0, 0, 0, 0, 0, 16, 1, 0),
BANK("AO", GPIOAO_0, GPIOAO_13, 0, 13, 0, 16, 0, 0, 0, 0, 0, 16, 1, 0),
};

static struct meson_pmx_bank meson_axg_periphs_pmx_banks[] = {
Expand Down

0 comments on commit b84e546

Please sign in to comment.