Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118187
b: refs/heads/master
c: 5cac9d6
h: refs/heads/master
i:
  118185: 4da9575
  118183: 5b69f8a
v: v3
  • Loading branch information
Darius Augulis authored and Sascha Hauer committed Oct 30, 2008
1 parent b97aff5 commit 77f9807
Show file tree
Hide file tree
Showing 2 changed files with 2 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: eadefeff9c5572d82c2f5d907a0bfb3ba55ce901
refs/heads/master: 5cac9d6558009d0fcdb7a0f38247ca578c8c685b
2 changes: 1 addition & 1 deletion trunk/arch/arm/plat-mxc/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ static int mxc_gpio_get(struct gpio_chip *chip, unsigned offset)
struct mxc_gpio_port *port =
container_of(chip, struct mxc_gpio_port, chip);

return (__raw_readl(port->base + GPIO_DR) >> offset) & 1;
return (__raw_readl(port->base + GPIO_PSR) >> offset) & 1;
}

static int mxc_gpio_direction_input(struct gpio_chip *chip, unsigned offset)
Expand Down

0 comments on commit 77f9807

Please sign in to comment.