summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2005-01-09 22:05:24 +0000
committerJohannes Stezenbach <devnull@localhost>2005-01-09 22:05:24 +0000
commit79745a0a7e5bb4a7498d87ad4a3f1b1389de5df8 (patch)
tree46aaa8e27c8561713f8edae9bfa23339fadc497d /linux/drivers
parent93076cf0239fc83b2c097fa336dbf911f0cb3003 (diff)
downloadmediapointer-dvb-s2-79745a0a7e5bb4a7498d87ad4a3f1b1389de5df8.tar.gz
mediapointer-dvb-s2-79745a0a7e5bb4a7498d87ad4a3f1b1389de5df8.tar.bz2
patch by Emard: make sure RPS1 is disabled before progamming
budget-patch task
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c
index de7cfc589..f0a23c382 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.c
+++ b/linux/drivers/media/dvb/ttpci/av7110.c
@@ -2491,6 +2491,10 @@ static int av7110_detach(struct saa7146_dev* saa)
return 0;
if (budgetpatch) {
+ /* Disable RPS1 */
+ saa7146_write(saa, MC1, MASK_29);
+ /* VSYNC LOW (inactive) */
+ saa7146_setgpio(saa, 3, SAA7146_GPIO_OUTLO);
saa7146_write(saa, MC1, MASK_20); /* DMA3 off */
SAA7146_IER_DISABLE(saa, MASK_10);
SAA7146_ISR_CLEAR(saa, MASK_10);