summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2003-09-05 08:06:54 +0000
committerHolger Waechtler <devnull@localhost>2003-09-05 08:06:54 +0000
commitbc650a917f805b000436e4eed6682a5f652e4898 (patch)
treef04a89d7b42605ff3bb1069574e49aebf5b58560
parent749cc942aaa6ddbadf1df009e6cdd92976215e9c (diff)
downloadmediapointer-dvb-s2-bc650a917f805b000436e4eed6682a5f652e4898.tar.gz
mediapointer-dvb-s2-bc650a917f805b000436e4eed6682a5f652e4898.tar.bz2
apply patch by Jon Burgess to fix DMA issues
-rw-r--r--linux/drivers/media/dvb/ttpci/budget-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-core.c b/linux/drivers/media/dvb/ttpci/budget-core.c
index c302d05ed..98e0387f1 100644
--- a/linux/drivers/media/dvb/ttpci/budget-core.c
+++ b/linux/drivers/media/dvb/ttpci/budget-core.c
@@ -46,12 +46,12 @@ static int start_ts_capture (struct budget *budget)
mdelay(10);
saa7146_write(dev, BASE_ODD3, 0);
- saa7146_write(dev, BASE_EVEN3, TS_WIDTH*TS_HEIGHT/2);
+ saa7146_write(dev, BASE_EVEN3, 0);
saa7146_write(dev, PROT_ADDR3, TS_WIDTH*TS_HEIGHT);
saa7146_write(dev, BASE_PAGE3, budget->pt.dma |ME1|0x90);
saa7146_write(dev, PITCH3, TS_WIDTH);
- saa7146_write(dev, NUM_LINE_BYTE3, ((TS_HEIGHT/2)<<16)|TS_WIDTH);
+ saa7146_write(dev, NUM_LINE_BYTE3, (TS_HEIGHT<<16)|TS_WIDTH);
saa7146_write(dev, MC2, (MASK_04 | MASK_20));
saa7146_write(dev, MC1, (MASK_04 | MASK_20)); // DMA3 on