pinctrl/abx500: adjust offset for get_mode()
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Feb 2013 19:10:57 +0000 (20:10 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 7 Feb 2013 16:26:53 +0000 (17:26 +0100)
commita950cb741bb62d5f23860755388ad4e93dd2a185
treedef8812814c93a59f83160031db0e67249806908
parentf30a3839b33c560b374c69be9ba2621d3d6a3d10
pinctrl/abx500: adjust offset for get_mode()

The set_mode() and get_mode() functions in the abx500 were
not mirrored, leading to the wrong GPIO control bits being
read out.

Cc: Lee Jones <lee.jones@linaro.org>
Reported-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-abx500.c