Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296923
b: refs/heads/master
c: 7535b8b
h: refs/heads/master
i:
  296921: 45feb87
  296919: c181b5c
v: v3
  • Loading branch information
Bhupesh Sharma authored and Grant Likely committed Mar 12, 2012
1 parent 5e8ffc2 commit 8b478ab
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: 0dc665d426691fd75fe9b6b16295ad0c02677d21
refs/heads/master: 7535b8bef067b71070ed5bdcf3606402f1e99618
2 changes: 1 addition & 1 deletion trunk/drivers/gpio/gpio-stmpe.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static int stmpe_gpio_get(struct gpio_chip *chip, unsigned offset)
if (ret < 0)
return ret;

return ret & mask;
return !!(ret & mask);
}

static void stmpe_gpio_set(struct gpio_chip *chip, unsigned offset, int val)
Expand Down

0 comments on commit 8b478ab

Please sign in to comment.