Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57410
b: refs/heads/master
c: 29c349d
h: refs/heads/master
v: v3
  • Loading branch information
Bill Gatliff authored and Russell King committed Jun 2, 2007
1 parent 38e1815 commit b3efa2d
Show file tree
Hide file tree
Showing 2 changed files with 3 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: b6b27ae5e85fb193c08448157943b187958b8ca2
refs/heads/master: 29c349d22ccda5678a7dfb732093dbd3befcefa3
3 changes: 2 additions & 1 deletion trunk/include/asm-arm/arch-pxa/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ static inline int gpio_direction_input(unsigned gpio)

static inline int gpio_direction_output(unsigned gpio, int value)
{
return pxa_gpio_mode(gpio | GPIO_OUT | (value ? 0 : GPIO_DFLT_LOW));
return pxa_gpio_mode(gpio | GPIO_OUT |
(value ? GPIO_DFLT_HIGH : GPIO_DFLT_LOW));
}

static inline int __gpio_get_value(unsigned gpio)
Expand Down

0 comments on commit b3efa2d

Please sign in to comment.