summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/dvb-usb
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2006-09-19 12:51:56 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-10-03 15:12:57 -0300
commit303cbeaaacd449545d259f82b966d070418c58af (patch)
treeea4ba58a759d6c3fd57d76496cfbfb1b23ed39b2 /drivers/media/dvb/dvb-usb
parent01b4bf31ce6ca6c1de31c773fa281a34fd98ff87 (diff)
V4L/DVB (4653): Misc fixes for Nova-T 500
- forward the clock to the slave undivided - when sleeping the 3000 do not shutdown the clock Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb')
-rw-r--r--drivers/media/dvb/dvb-usb/dib0700_core.c4
-rw-r--r--drivers/media/dvb/dvb-usb/dib0700_devices.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_core.c b/drivers/media/dvb/dvb-usb/dib0700_core.c
index a1a8165ab272..dca6c6985661 100644
--- a/drivers/media/dvb/dvb-usb/dib0700_core.c
+++ b/drivers/media/dvb/dvb-usb/dib0700_core.c
@@ -103,8 +103,10 @@ static int dib0700_i2c_xfer(struct i2c_adapter *adap,struct i2c_msg *msg,int num
buf[1] |= 1;
/* special thing in the current firmware: when length is zero the read-failed */
- if ((len = dib0700_ctrl_rd(d, buf, msg[i].len + 2, msg[i+1].buf, msg[i+1].len)) <= 0)
+ if ((len = dib0700_ctrl_rd(d, buf, msg[i].len + 2, msg[i+1].buf, msg[i+1].len)) <= 0) {
+ deb_info("I2C read failed on address %x\n", msg[i].addr);
break;
+ }
msg[i+1].len = len;
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c
index 182051011c91..9347febaaba9 100644
--- a/drivers/media/dvb/dvb-usb/dib0700_devices.c
+++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c
@@ -17,7 +17,7 @@
static struct mt2060_config bristol_mt2060_config[2] = {
{
.i2c_address = 0x60,
- .clock_out = 1,
+ .clock_out = 3,
}, {
.i2c_address = 0x61,
}