When a DMA channel is opened the IRQ should not get activated
automatically, this allows it to pull data out manually without the help
of interrupts. This is needed for a workaround in the vrx200 Ethernet
driver.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
        spin_lock_irqsave(<q_dma_lock, flag);
        ltq_dma_w32(ch->nr, LTQ_DMA_CS);
        ltq_dma_w32_mask(0, DMA_CHAN_ON, LTQ_DMA_CCTRL);
-       ltq_dma_w32_mask(0, 1 << ch->nr, LTQ_DMA_IRNEN);
        spin_unlock_irqrestore(<q_dma_lock, flag);
 }
 EXPORT_SYMBOL_GPL(ltq_dma_open);
 
                if (!IS_TX(i) && (!IS_RX(i)))
                        continue;
                ltq_dma_open(&ch->dma);
+               ltq_dma_enable_irq(&ch->dma);
                napi_enable(&ch->napi);
        }
        phy_start(dev->phydev);