diff options
author | 2018-10-29 16:13:39 +0100 | |
---|---|---|
committer | 2018-11-05 09:33:22 +0100 | |
commit | e91b162d2868672d06010f34aa83d408db13d3c6 (patch) | |
tree | 24e14bb7887b31b36d84fb204b9f1f08e5ffcde2 /drivers/pinctrl/meson | |
parent | pinctrl: meson: fix gxl ao pull register bits (diff) | |
download | linux-e91b162d2868672d06010f34aa83d408db13d3c6.tar.gz linux-e91b162d2868672d06010f34aa83d408db13d3c6.tar.bz2 linux-e91b162d2868672d06010f34aa83d408db13d3c6.zip |
pinctrl: meson: fix meson8 ao pull register bits
AO pull register definition is inverted between pull (up/down) and
pull enable. Fixing this allows to properly apply bias setting
through pinconf
Fixes: 6ac730951104 ("pinctrl: add driver for Amlogic Meson SoCs")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/meson')
-rw-r--r-- | drivers/pinctrl/meson/pinctrl-meson8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/meson/pinctrl-meson8.c b/drivers/pinctrl/meson/pinctrl-meson8.c index c6d79315218f..86466173114d 100644 --- a/drivers/pinctrl/meson/pinctrl-meson8.c +++ b/drivers/pinctrl/meson/pinctrl-meson8.c @@ -1053,7 +1053,7 @@ static struct meson_bank meson8_cbus_banks[] = { static struct meson_bank meson8_aobus_banks[] = { /* name first last 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 meson8_cbus_pinctrl_data = { |