pinctrl: meson: fix meson8 ao pull register bits
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 29 Oct 2018 15:13:39 +0000 (16:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Dec 2018 08:37:31 +0000 (09:37 +0100)
commit93620bc4de8a00aedc08c34728ea5a472989d6ef
treeccac92c6d01cf5b49e231eacc88460a58c5ab718
parentc74e3fc6d0c3dc22a4022c9729cf269278fcdde5
pinctrl: meson: fix meson8 ao pull register bits

[ Upstream commit e91b162d2868672d06010f34aa83d408db13d3c6 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/meson/pinctrl-meson8.c