Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243284
b: refs/heads/master
c: a0b0f5a
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Mar 29, 2011
1 parent da1d555 commit c692cd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: eb2d7188f9bf68523248c45f4986313011389f5f
refs/heads/master: a0b0f5ac7816672534f3839672c38f027158b81f
6 changes: 2 additions & 4 deletions trunk/arch/arm/mach-gemini/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ static int gpio_set_irq_type(struct irq_data *d, unsigned int type)

static void gpio_irq_handler(unsigned int irq, struct irq_desc *desc)
{
unsigned int port = (unsigned int)irq_desc_get_handler_data(desc);
unsigned int gpio_irq_no, irq_stat;
unsigned int port = (unsigned int)get_irq_data(irq);

irq_stat = __raw_readl(GPIO_BASE(port) + GPIO_INT_STAT);

Expand All @@ -138,9 +138,7 @@ static void gpio_irq_handler(unsigned int irq, struct irq_desc *desc)
if ((irq_stat & 1) == 0)
continue;

BUG_ON(!(irq_desc[gpio_irq_no].handle_irq));
irq_desc[gpio_irq_no].handle_irq(gpio_irq_no,
&irq_desc[gpio_irq_no]);
generic_handle_irq(gpio_irq_no);
}
}

Expand Down

0 comments on commit c692cd9

Please sign in to comment.