mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
PCI: rockchip: rk: fix subsys_irq_handler logic
Clear irq status first then handle the udma interrupt. Change-Id: I3638524b7bd09ad21a431bfebd3ba0b5bfbe7b8e Signed-off-by: Simon Xue <xxm@rock-chips.com>
This commit is contained in:
@@ -546,9 +546,9 @@ static irqreturn_t rockchip_pcie_subsys_irq_handler(int irq, void *arg)
|
||||
}
|
||||
|
||||
if (reg & PCIE_CLIENT_INT_UDMA) {
|
||||
rockchip_pcie_handle_dma_interrupt(rockchip);
|
||||
rockchip_pcie_write(rockchip, sub_reg, PCIE_CLIENT_INT_STATUS);
|
||||
rockchip_pcie_write(rockchip, reg, PCIE_CLIENT_INT_STATUS);
|
||||
rockchip_pcie_handle_dma_interrupt(rockchip);
|
||||
}
|
||||
|
||||
rockchip_pcie_write(rockchip, reg & PCIE_CLIENT_INT_LOCAL,
|
||||
|
||||
Reference in New Issue
Block a user