Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219583
b: refs/heads/master
c: 79c9812
h: refs/heads/master
i:
  219581: 5a2906a
  219579: a13c8ec
  219575: d00fc80
  219567: 176b59a
  219551: 47784a0
  219519: 6812e63
v: v3
  • Loading branch information
Paul Mundt committed Oct 27, 2010
1 parent edae545 commit b649f8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 5f0103847325dc22fda8749626b56f8b71b98440
refs/heads/master: 79c981283ba344f7f51b6aa82e1b8e71bad123b4
7 changes: 4 additions & 3 deletions trunk/arch/sh/boards/mach-x3proto/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,19 @@ static int x3proto_gpio_to_irq(struct gpio_chip *chip, unsigned gpio)

static void x3proto_gpio_irq_handler(unsigned int irq, struct irq_desc *desc)
{
struct irq_chip *chip = get_irq_desc_chip(desc);
struct irq_data *data = irq_get_irq_data(irq);
struct irq_chip *chip = irq_data_get_irq_chip(data);
unsigned long mask;
int pin;

chip->mask_ack(irq);
chip->irq_mask_ack(data);

mask = __raw_readw(KEYDETR);

for_each_set_bit(pin, &mask, NR_BASEBOARD_GPIOS)
generic_handle_irq(x3proto_gpio_to_irq(NULL, pin));

chip->unmask(irq);
chip->irq_unmask(data);
}

struct gpio_chip x3proto_gpio_chip = {
Expand Down

0 comments on commit b649f8b

Please sign in to comment.