Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179449
b: refs/heads/master
c: e4deee0
h: refs/heads/master
i:
  179447: 718f143
v: v3
  • Loading branch information
Marko Ristola authored and Mauro Carvalho Chehab committed Jan 17, 2010
1 parent 7fd96e1 commit b433873
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 01a8c3eebb3c83df337f88332756f16154cecc0f
refs/heads/master: e4deee04ffda9b44f367a40dbad8306ab88cb321
5 changes: 4 additions & 1 deletion trunk/drivers/media/dvb/mantis/mantis_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ void mantis_dma_start(struct mantis_pci *mantis)

mantis_risc_program(mantis);
mmwrite(cpu_to_le32(mantis->risc_dma), MANTIS_RISC_START);
mmwrite(MANTIS_GPIF_RDWRN, MANTIS_GPIF_ADDR);
// mmwrite(MANTIS_GPIF_RDWRN, MANTIS_GPIF_ADDR);
mmwrite(mmread(MANTIS_GPIF_ADDR) | MANTIS_GPIF_RDWRN, MANTIS_GPIF_ADDR);

mmwrite(0, MANTIS_DMA_CTL);
mantis->last_block = mantis->finished_block = 0;
Expand All @@ -210,6 +211,8 @@ void mantis_dma_stop(struct mantis_pci *mantis)
mask = mmread(MANTIS_INT_MASK);
dprintk(verbose, MANTIS_DEBUG, 1, "Mantis Stop DMA engine");

mmwrite((mmread(MANTIS_GPIF_ADDR) & (~(MANTIS_GPIF_RDWRN))), MANTIS_GPIF_ADDR);

mmwrite((mmread(MANTIS_DMA_CTL) & ~(MANTIS_FIFO_EN |
MANTIS_DCAP_EN |
MANTIS_RISC_EN)), MANTIS_DMA_CTL);
Expand Down

0 comments on commit b433873

Please sign in to comment.