aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/core.c
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2013-03-28 14:50:05 +0100
committerLinus Walleij <linus.walleij@linaro.org>2013-04-03 11:23:13 +0200
commita36571b59e216e95860744c94e52ccbbe43401f0 (patch)
tree63eca4e9e4a0c5097fe1da395a9ca079d2e511c7 /drivers/pinctrl/core.c
parentpinctrl: mvebu: prevent walking off the end of group array (diff)
downloadlinux-dev-a36571b59e216e95860744c94e52ccbbe43401f0.tar.xz
linux-dev-a36571b59e216e95860744c94e52ccbbe43401f0.zip
pinctrl/abx500: fix ab8505 alternate function
This fix allows to correctly select default and alternate pin mode. By default for all ABx500 family chip, pin default mode is selected by clearing corresponding bit in GPIOSELx register except for pins which support alternate function, in this case, corresponding bit must be set. But, due to an unlogical hardware implementation, for one particular pin (GPIO11) reverse setting must be done. For that, update the alternate function array by declaring that this pin supports alternate function. Reported-by: Ramesh Chandrasekaran <ramesh.chandrasekaran@stericsson.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/core.c')
0 files changed, 0 insertions, 0 deletions