]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: dwc: Clear MSI interrupt status after it is handled, not before
authorFaiz Abbas <faiz_abbas@ti.com>
Thu, 10 Aug 2017 11:24:55 +0000 (16:54 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 22 Aug 2017 20:49:33 +0000 (15:49 -0500)
commitea2adfc1f5f51dd485a797ba48d7a098d14a1334
treefd6058c40c2a7e60a36206d23b75bd055ea6845a
parent16b47b0180bb78fa0ac83ecabe086eee4ad0639b
PCI: dwc: Clear MSI interrupt status after it is handled, not before

If the interrupt status is cleared before it is handled, it is possible
that another interrupt will trigger while servicing the previous one.  This
is causing timeouts in some wireless lan cards which use PCIe.

Clear MSI interrupt status after it gets serviced instead of before calling
generic_handler.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-By: Joao Pinto <jpinto@synopsys.com>
drivers/pci/dwc/pcie-designware-host.c