]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3afc68796830c4e23385c66b8e8bc0e9551a9043
tree726cacfa874758f2337fe493149b31cd0a48ccd5
parent1641a28555bda6e9495142a1d83456ea7d45422b
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