diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2018-09-09 22:16:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-13 08:14:33 -0700 |
commit | cc973aecf0b0541918c5ecabe6c90d1f709b5f89 (patch) | |
tree | 072a9a9ee587ebf3a07c71e3cbcf1405ab0b0602 /arch/mips/lantiq | |
parent | aaf9253025e80cf8f62d7b33670e84e838eec5a3 (diff) | |
download | linux-stable-cc973aecf0b0541918c5ecabe6c90d1f709b5f89.tar.gz linux-stable-cc973aecf0b0541918c5ecabe6c90d1f709b5f89.tar.bz2 linux-stable-cc973aecf0b0541918c5ecabe6c90d1f709b5f89.zip |
MIPS: lantiq: Do not enable IRQs in dma open
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>
Diffstat (limited to 'arch/mips/lantiq')
-rw-r--r-- | arch/mips/lantiq/xway/dma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c index 664f2f7f55c1..982859f2b2a3 100644 --- a/arch/mips/lantiq/xway/dma.c +++ b/arch/mips/lantiq/xway/dma.c @@ -106,7 +106,6 @@ ltq_dma_open(struct ltq_dma_channel *ch) 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); |