diff options
author | Maulik Shah <mkshah@codeaurora.org> | 2020-09-28 06:32:03 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-10-06 12:26:34 +0200 |
commit | 299d7890792e75065b906f83fcb0ca92e5c8c072 (patch) | |
tree | b43a999c96d0c50824b7c5d426309b38740a1835 /drivers/irqchip | |
parent | pinctrl: qcom: Set IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND flag (diff) | |
download | linux-299d7890792e75065b906f83fcb0ca92e5c8c072.tar.xz linux-299d7890792e75065b906f83fcb0ca92e5c8c072.zip |
irqchip/qcom-pdc: Set IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND flag
Set IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND flag to enable/unmask the
wakeirqs during suspend entry.
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Tested-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/1601267524-20199-6-git-send-email-mkshah@codeaurora.org
Diffstat (limited to 'drivers/irqchip')
-rw-r--r-- | drivers/irqchip/qcom-pdc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/irqchip/qcom-pdc.c b/drivers/irqchip/qcom-pdc.c index 6ae9e1f0819d..acc0620f315a 100644 --- a/drivers/irqchip/qcom-pdc.c +++ b/drivers/irqchip/qcom-pdc.c @@ -205,7 +205,8 @@ static struct irq_chip qcom_pdc_gic_chip = { .irq_set_type = qcom_pdc_gic_set_type, .flags = IRQCHIP_MASK_ON_SUSPEND | IRQCHIP_SET_TYPE_MASKED | - IRQCHIP_SKIP_SET_WAKE, + IRQCHIP_SKIP_SET_WAKE | + IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND, .irq_set_vcpu_affinity = irq_chip_set_vcpu_affinity_parent, .irq_set_affinity = irq_chip_set_affinity_parent, }; |