Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256694
b: refs/heads/master
c: 5523f86
h: refs/heads/master
v: v3
  • Loading branch information
Shawn Guo authored and Grant Likely committed Jun 12, 2011
1 parent f52ecc4 commit ee78cbd
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: 27810c5e7f8f2ddf036c16b5e40fd22abdc041f9
refs/heads/master: 5523f86beab2b87d42cd58aca9bd5cee5466c6e3
2 changes: 1 addition & 1 deletion trunk/drivers/gpio/gpio-mxc.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ static int gpio_set_irq_type(struct irq_data *d, u32 type)
edge = GPIO_INT_FALL_EDGE;
break;
case IRQ_TYPE_EDGE_BOTH:
val = gpio_get_value(gpio & 31);
val = gpio_get_value(gpio);
if (val) {
edge = GPIO_INT_LOW_LEV;
pr_debug("mxc: set GPIO %d to low trigger\n", gpio);
Expand Down

0 comments on commit ee78cbd

Please sign in to comment.