aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/base/regmap/regmap-irq.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/base/regmap/regmap-irq.c b/drivers/base/regmap/regmap-irq.c
index bf1203cbd122..9a6649c82daa 100644
--- a/drivers/base/regmap/regmap-irq.c
+++ b/drivers/base/regmap/regmap-irq.c
@@ -287,6 +287,11 @@ int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
287 287
288 d->irq_chip = regmap_irq_chip; 288 d->irq_chip = regmap_irq_chip;
289 d->irq_chip.name = chip->name; 289 d->irq_chip.name = chip->name;
290 if (!chip->wake_base) {
291 d->irq_chip.irq_set_wake = NULL;
292 d->irq_chip.flags |= IRQCHIP_MASK_ON_SUSPEND |
293 IRQCHIP_SKIP_SET_WAKE;
294 }
290 d->irq = irq; 295 d->irq = irq;
291 d->map = map; 296 d->map = map;
292 d->chip = chip; 297 d->chip = chip;