Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350509
b: refs/heads/master
c: 9338628
h: refs/heads/master
i:
  350507: b51e83d
v: v3
  • Loading branch information
John Crispin authored and Linus Walleij committed Feb 5, 2013
1 parent 40ed786 commit 0744d99
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6360350cbc0567f51afacb2d1e6a8e611b3b9b2b
refs/heads/master: 933862873740923a059cbcda0c66487c6179ba3c
5 changes: 4 additions & 1 deletion trunk/drivers/pinctrl/pinctrl-xway.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,10 @@ static int xway_pinconf_set(struct pinctrl_dev *pctldev,
reg = GPIO3_OD;
else
reg = GPIO_OD(pin);
gpio_setbit(info->membase[0], reg, PORT_PIN(pin));
if (arg == 0)
gpio_setbit(info->membase[0], reg, PORT_PIN(pin));
else
gpio_clearbit(info->membase[0], reg, PORT_PIN(pin));
break;

case LTQ_PINCONF_PARAM_PULL:
Expand Down

0 comments on commit 0744d99

Please sign in to comment.