diff options
| author | Patrick Boettcher <pb@linuxtv.org> | 2006-09-19 12:51:56 -0300 |
|---|---|---|
| committer | Patrick Boettcher <pb@linuxtv.org> | 2006-09-19 12:51:56 -0300 |
| commit | e7d20687141fe2641051b2698831e995f4965a7d (patch) | |
| tree | 72e12df1ca8ac6284217c6c8ae6a653ff0c6e311 /linux/drivers/media/dvb/dvb-usb | |
| parent | a35eeb1c83784723edd435ab03dff6628e60b3db (diff) | |
| download | mediapointer-dvb-s2-e7d20687141fe2641051b2698831e995f4965a7d.tar.gz mediapointer-dvb-s2-e7d20687141fe2641051b2698831e995f4965a7d.tar.bz2 | |
Misc fixes for Nova-T 500
From: Patrick Boettcher <pb@linuxtv.org>
- forward the clock to the slave undivided
- when sleeping the 3000 do not shutdown the clock
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb')
| -rw-r--r-- | linux/drivers/media/dvb/dvb-usb/dib0700_core.c | 4 | ||||
| -rw-r--r-- | linux/drivers/media/dvb/dvb-usb/dib0700_devices.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dib0700_core.c b/linux/drivers/media/dvb/dvb-usb/dib0700_core.c index 27fda6b09..47339cfe7 100644 --- a/linux/drivers/media/dvb/dvb-usb/dib0700_core.c +++ b/linux/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/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c index 182051011..9347febaa 100644 --- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c +++ b/linux/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, } |
