summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/budget-core.c
diff options
context:
space:
mode:
authorOliver Endriss <devnull@localhost>2005-01-17 23:06:38 +0000
committerOliver Endriss <devnull@localhost>2005-01-17 23:06:38 +0000
commit574aab8c5b773ab7ebe07978d2e625af1fe8a951 (patch)
tree3049809aba03f89bd50409db2e81579129198ee6 /linux/drivers/media/dvb/ttpci/budget-core.c
parent9a05e073d8551b8f44c63031b039aaa5cc01e3b9 (diff)
downloadmediapointer-dvb-s2-574aab8c5b773ab7ebe07978d2e625af1fe8a951.tar.gz
mediapointer-dvb-s2-574aab8c5b773ab7ebe07978d2e625af1fe8a951.tar.bz2
Fixed start_ts_capture(): saa7146 will not issue a VPE interrupt if
- VPE bit is set in PSR and - VPE interrupts are enabled afterwards.
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/budget-core.c')
-rw-r--r--linux/drivers/media/dvb/ttpci/budget-core.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-core.c b/linux/drivers/media/dvb/ttpci/budget-core.c
index b4cc259f1..edfa5c1f1 100644
--- a/linux/drivers/media/dvb/ttpci/budget-core.c
+++ b/linux/drivers/media/dvb/ttpci/budget-core.c
@@ -127,9 +127,10 @@ static int start_ts_capture(struct budget *budget)
}
saa7146_write(dev, MC2, (MASK_04 | MASK_20));
- saa7146_write(dev, MC1, (MASK_04 | MASK_20)); // DMA3 on
- SAA7146_IER_ENABLE(budget->dev, MASK_10); // VPE
+ SAA7146_ISR_CLEAR(budget->dev, MASK_10); /* VPE */
+ SAA7146_IER_ENABLE(budget->dev, MASK_10); /* VPE */
+ saa7146_write(dev, MC1, (MASK_04 | MASK_20)); /* DMA3 on */
return ++budget->feeding;
}