Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303303
b: refs/heads/master
c: d941136
h: refs/heads/master
i:
  303301: c9fdd30
  303299: f924bc0
  303295: 1e7b2cf
v: v3
  • Loading branch information
Stephen Warren committed Apr 18, 2012
1 parent fbf97da commit 3c1a2c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4bee6417c9444ca62e67956dcbcf25fe20feb869
refs/heads/master: d941136fc6ead10a7ff319bad199869b593962c5
3 changes: 3 additions & 0 deletions trunk/drivers/gpio/gpio-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ static int tegra_gpio_irq_set_type(struct irq_data *d, unsigned int type)

spin_unlock_irqrestore(&bank->lvl_lock[port], flags);

tegra_gpio_mask_write(GPIO_MSK_OE(gpio), gpio, 0);
tegra_gpio_enable(gpio);

if (type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_LEVEL_HIGH))
__irq_set_handler_locked(d->irq, handle_level_irq);
else if (type & (IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING))
Expand Down

0 comments on commit 3c1a2c2

Please sign in to comment.