dc6503b2dd63ad9edf7199cbcb806d51a8bf1810
[openwrt/staging/chunkeey.git] / target / linux / generic / pending-5.10 / 850-0019-PCI-aardvark-Remove-irq_mask_ack-callback-for-INTx-i.patch
1 From 8c9eef96e24f34ff8b62b230700416b822691a37 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Pali=20Roh=C3=A1r?= <pali@kernel.org>
3 Date: Thu, 1 Apr 2021 14:24:12 +0200
4 Subject: [PATCH] PCI: aardvark: Remove irq_mask_ack callback for INTx
5 interrupts
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
10 Callback for irq_mask_ack is the same as for irq_mask. As there is no
11 special handling for irq_ack, there is no need to define irq_mask_ack too.
12
13 Signed-off-by: Pali Rohár <pali@kernel.org>
14 Acked-by: Marc Zyngier <maz@kernel.org>
15 Signed-off-by: Marek Behún <kabel@kernel.org>
16 ---
17 drivers/pci/controller/pci-aardvark.c | 1 -
18 1 file changed, 1 deletion(-)
19
20 --- a/drivers/pci/controller/pci-aardvark.c
21 +++ b/drivers/pci/controller/pci-aardvark.c
22 @@ -1420,7 +1420,6 @@ static int advk_pcie_init_irq_domain(str
23 }
24
25 irq_chip->irq_mask = advk_pcie_irq_mask;
26 - irq_chip->irq_mask_ack = advk_pcie_irq_mask;
27 irq_chip->irq_unmask = advk_pcie_irq_unmask;
28
29 pcie->irq_domain =