summaryrefslogtreecommitdiff
path: root/kernel/irq/chip.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-02-21 14:58:31 +0300
committerLinus Walleij <linus.walleij@linaro.org>2019-02-21 14:58:31 +0300
commit3dda927fdbaac926c50b550ccb51ed18c184468b (patch)
treeaca7a7aed54a496bb15d50169353b96c25c19452 /kernel/irq/chip.c
parent9aac1e336c3ab3824f646224f4b2309b63c51668 (diff)
parent79890c2ec4860c3b715f89248c51abcc76a1fa39 (diff)
downloadlinux-3dda927fdbaac926c50b550ccb51ed18c184468b.tar.xz
Merge branch 'ib-qcom-ssbi' into devel
Diffstat (limited to 'kernel/irq/chip.c')
-rw-r--r--kernel/irq/chip.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index 086d5a34b5a0..0aefc2e69cf5 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -1278,6 +1278,17 @@ void irq_chip_mask_parent(struct irq_data *data)
EXPORT_SYMBOL_GPL(irq_chip_mask_parent);
/**
+ * irq_chip_mask_ack_parent - Mask and acknowledge the parent interrupt
+ * @data: Pointer to interrupt specific data
+ */
+void irq_chip_mask_ack_parent(struct irq_data *data)
+{
+ data = data->parent_data;
+ data->chip->irq_mask_ack(data);
+}
+EXPORT_SYMBOL_GPL(irq_chip_mask_ack_parent);
+
+/**
* irq_chip_unmask_parent - Unmask the parent interrupt
* @data: Pointer to interrupt specific data
*/