Skip to content

Commit

Permalink
Merge "irqchip: qcom: pdc: Add irq_set_wake support to pdc irqchip"
Browse files Browse the repository at this point in the history
  • Loading branch information
qctecmdr authored and Gerrit - the friendly Code Review server committed Feb 8, 2020
2 parents f9eabdb + 5247142 commit 7ad8864
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions drivers/irqchip/qcom/mpm.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2010-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2010-2020, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
Expand Down Expand Up @@ -256,8 +256,9 @@ static struct irq_chip msm_mpm_gic_chip = {
.irq_disable = msm_mpm_gic_chip_mask,
.irq_unmask = msm_mpm_gic_chip_unmask,
.irq_retrigger = irq_chip_retrigger_hierarchy,
.irq_set_wake = irq_chip_set_wake_parent,
.irq_set_type = msm_mpm_gic_chip_set_type,
.flags = IRQCHIP_MASK_ON_SUSPEND | IRQCHIP_SKIP_SET_WAKE,
.flags = IRQCHIP_MASK_ON_SUSPEND,
.irq_set_affinity = irq_chip_set_affinity_parent,
};

Expand Down
6 changes: 3 additions & 3 deletions drivers/irqchip/qcom/pdc.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
Expand Down Expand Up @@ -239,11 +239,11 @@ static struct irq_chip qcom_pdc_gic_chip = {
.irq_enable = qcom_pdc_gic_enable,
.irq_unmask = qcom_pdc_gic_unmask,
.irq_disable = qcom_pdc_gic_disable,
.irq_set_wake = irq_chip_set_wake_parent,
.irq_retrigger = irq_chip_retrigger_hierarchy,
.irq_set_type = qcom_pdc_gic_set_type,
.flags = IRQCHIP_MASK_ON_SUSPEND |
IRQCHIP_SET_TYPE_MASKED |
IRQCHIP_SKIP_SET_WAKE,
IRQCHIP_SET_TYPE_MASKED,
.irq_set_vcpu_affinity = irq_chip_set_vcpu_affinity_parent,
#ifdef CONFIG_SMP
.irq_set_affinity = irq_chip_set_affinity_parent,
Expand Down

0 comments on commit 7ad8864

Please sign in to comment.