PCI: dra7xx: Iterate over INTx status bits
authorVignesh R <vigneshr@ti.com>
Fri, 29 Dec 2017 11:41:31 +0000 (17:11 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 10 Jan 2018 11:20:32 +0000 (11:20 +0000)
commit09b2d20349e37a03a0951ab69524b516c8f1cc5b
tree726cacfa874758f2337fe493149b31cd0a48ccd5
parent524d59f6e30aab5b618da55e604c802ccd83e708
PCI: dra7xx: Iterate over INTx status bits

It is possible that more than one legacy IRQ may be set at the same
time, therefore iterate and handle all the pending INTx interrupts
before clearing the status and exiting the IRQ handler. Otherwise, some
interrupts would be lost.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/pci/dwc/pci-dra7xx.c