summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2013-10-14 01:27:27 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-04 10:55:49 -0800
commit884181395dc053f31759ae0bd0c8ff88d143eb4e (patch)
treeea45924c296e996df4be331b1edd9b6eed397805 /drivers/pinctrl
parent4501cfd0e3a1c06e5539c9f806866f8408232393 (diff)
downloadlinux-3.10-884181395dc053f31759ae0bd0c8ff88d143eb4e.tar.gz
linux-3.10-884181395dc053f31759ae0bd0c8ff88d143eb4e.tar.bz2
linux-3.10-884181395dc053f31759ae0bd0c8ff88d143eb4e.zip
pinctrl: dove: unset twsi option3 for gconfig as well
commit 6d0a4ed2b90a12e1403d3e7d9d8c2cc7fdc301b5 upstream. This fixes a typo which left twsi config3 option enabled. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/mvebu/pinctrl-dove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/mvebu/pinctrl-dove.c b/drivers/pinctrl/mvebu/pinctrl-dove.c
index 428ea96a94d..e29e6d831ae 100644
--- a/drivers/pinctrl/mvebu/pinctrl-dove.c
+++ b/drivers/pinctrl/mvebu/pinctrl-dove.c
@@ -323,7 +323,7 @@ static int dove_twsi_ctrl_set(struct mvebu_mpp_ctrl *ctrl,
unsigned long gcfg2 = readl(DOVE_GLOBAL_CONFIG_2);
gcfg1 &= ~DOVE_TWSI_ENABLE_OPTION1;
- gcfg2 &= ~(DOVE_TWSI_ENABLE_OPTION2 | DOVE_TWSI_ENABLE_OPTION2);
+ gcfg2 &= ~(DOVE_TWSI_ENABLE_OPTION2 | DOVE_TWSI_ENABLE_OPTION3);
switch (config) {
case 1: