1 --- a/arch/mips/ath79/irq.c
2 +++ b/arch/mips/ath79/irq.c
3 @@ -69,15 +69,21 @@ static void qca953x_ip2_irq_dispatch(str
6 status = ath79_reset_rr(QCA953X_RESET_REG_PCIE_WMAC_INT_STATUS);
7 + status &= QCA953X_PCIE_WMAC_INT_PCIE_ALL | QCA953X_PCIE_WMAC_INT_WMAC_ALL;
10 + spurious_interrupt();
14 if (status & QCA953X_PCIE_WMAC_INT_PCIE_ALL) {
15 ath79_ddr_wb_flush(3);
16 generic_handle_irq(ATH79_IP2_IRQ(0));
17 - } else if (status & QCA953X_PCIE_WMAC_INT_WMAC_ALL) {
20 + if (status & QCA953X_PCIE_WMAC_INT_WMAC_ALL) {
21 ath79_ddr_wb_flush(4);
22 generic_handle_irq(ATH79_IP2_IRQ(1));
24 - spurious_interrupt();