|
@@ -426,7 +426,7 @@ static void gpio_irq_handler(unsigned irq, struct irq_desc *desc)
|
|
if (!(cause & (1 << i)))
|
|
if (!(cause & (1 << i)))
|
|
continue;
|
|
continue;
|
|
|
|
|
|
- type = irqd_get_trigger_type(irq_get_irq_data(irq));
|
|
|
|
|
|
+ type = irq_get_trigger_type(irq);
|
|
if ((type & IRQ_TYPE_SENSE_MASK) == IRQ_TYPE_EDGE_BOTH) {
|
|
if ((type & IRQ_TYPE_SENSE_MASK) == IRQ_TYPE_EDGE_BOTH) {
|
|
/* Swap polarity (race with GPIO line) */
|
|
/* Swap polarity (race with GPIO line) */
|
|
u32 polarity;
|
|
u32 polarity;
|