Skip to content

Commit

Permalink
pinctrl: meson: fix meson8b ao pull register bits
Browse files Browse the repository at this point in the history
AO pull register definition is inverted between pull (up/down) and
pull enable. Fixing this allows to properly apply bias setting
through pinconf

Fixes: 0fefcb6 ("pinctrl: Add support for Meson8b")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Jerome Brunet authored and Linus Walleij committed Nov 5, 2018
1 parent e91b162 commit a1705f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pinctrl/meson/pinctrl-meson8b.c
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ static struct meson_bank meson8b_cbus_banks[] = {

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

static struct meson_pinctrl_data meson8b_cbus_pinctrl_data = {
Expand Down

0 comments on commit a1705f0

Please sign in to comment.