summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/av7110
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2002-12-22 22:09:55 +0000
committerMichael Hunold <devnull@localhost>2002-12-22 22:09:55 +0000
commit5ba2551f2573daac61b1cbe612d6fb1cd6384095 (patch)
tree4224da8b136f701b8927f8750a20c13f4b85079d /linux/drivers/media/dvb/av7110
parent8b66183832300c20e17957fdfabc112b2d0ed8d1 (diff)
downloadmediapointer-dvb-s2-5ba2551f2573daac61b1cbe612d6fb1cd6384095.tar.gz
mediapointer-dvb-s2-5ba2551f2573daac61b1cbe612d6fb1cd6384095.tar.bz2
Fixed one wrong IER_DISABLE (look at the commented out version below,
copy & paste error), removed duplicate dvb_register_i2c_bus() call, removed all references to RPS0, it's not used at all. (this fixes the capturing problems)
Diffstat (limited to 'linux/drivers/media/dvb/av7110')
-rw-r--r--linux/drivers/media/dvb/av7110/av7110.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/av7110/av7110.c b/linux/drivers/media/dvb/av7110/av7110.c
index de9d40b31..d6cb1ebe7 100644
--- a/linux/drivers/media/dvb/av7110/av7110.c
+++ b/linux/drivers/media/dvb/av7110/av7110.c
@@ -677,7 +677,8 @@ TTBStop(av7110_t *av7110)
if (--av7110->feeding)
return av7110->feeding;
saa7146_write(av7110->dev, MC1, MASK_20); // DMA3 off
- saa7146_write(av7110->dev, MC1, MASK_28); // RPS0 off
+
+// saa7146_write(av7110->dev, MC1, MASK_28); // RPS0 off
IER_DISABLE(av7110->dev, (MASK_07 | MASK_10));
/*
@@ -1191,7 +1192,7 @@ void gpioirq (unsigned long data)
ARM_ClearIrq(av7110);
- IER_DISABLE(av7110->dev, MASK_10);
+ IER_DISABLE(av7110->dev, MASK_19);
// saa7146_write(av7110->dev, IER,
// saa7146_read(av7110->dev, IER) & ~MASK_19 );
saa7146_write(av7110->dev, ISR, MASK_19 );
@@ -4363,10 +4364,6 @@ int av7110_attach (struct saa7146_dev* dev)
/* FIXME: speed ok? */
saa7146_i2c_adapter_prepare(dev, NULL, SAA7146_I2C_BUS_BIT_RATE_480);
- av7110->i2c_bus = dvb_register_i2c_bus (master_xfer, dev,
- av7110->dvb_adapter, 0);
-
-
av7110->i2c_bus = dvb_register_i2c_bus (master_xfer, dev, av7110->dvb_adapter, 0);
if (!av7110->i2c_bus) {
@@ -4653,7 +4650,7 @@ struct saa7146_extension av7110_extension = {
.detach = av7110_detach,
.ioctl = av7110_ioctl,
- .irq_mask = MASK_07|MASK_10|MASK_19|MASK_03|MASK_27,
+ .irq_mask = MASK_07|MASK_10|MASK_19|MASK_03, // |MASK_27,
.irq_func = av7110_irq,
};