@@ -223,6 +223,7 @@ static struct irq_chip stmpe_gpio_irq_chip = {
.irq_mask = stmpe_gpio_irq_mask,
.irq_unmask = stmpe_gpio_irq_unmask,
.irq_set_type = stmpe_gpio_irq_set_type,
+ .flags = IRQCHIP_MASK_ON_SUSPEND,
};
static irqreturn_t stmpe_gpio_irq(int irq, void *dev)
@@ -851,6 +851,7 @@ static struct irq_chip stmpe_irq_chip = {
.irq_bus_sync_unlock = stmpe_irq_sync_unlock,
.irq_mask = stmpe_irq_mask,
.irq_unmask = stmpe_irq_unmask,
+ .flags = IRQCHIP_MASK_ON_SUSPEND,
};
static int __devinit stmpe_irq_init(struct stmpe *stmpe)