Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37406
b: refs/heads/master
c: 8fb9578
h: refs/heads/master
v: v3
  • Loading branch information
Chris Pascoe authored and Mauro Carvalho Chehab committed Sep 26, 2006
1 parent 46c8131 commit f8a24bb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b5b168d7b9e28e0569ed4fe2c0a44fae71df30b5
refs/heads/master: 8fb957841b2f4311e6418dcbef24564e4cebb87d
1 change: 1 addition & 0 deletions trunk/drivers/media/dvb/dvb-usb/cxusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ static struct mt352_config cxusb_dee1601_config = {

static struct zl10353_config cxusb_zl10353_dee1601_config = {
.demod_address = 0x0f,
.parallel_ts = 1,
};

static struct mt352_config cxusb_mt352_config = {
Expand Down
5 changes: 4 additions & 1 deletion trunk/drivers/media/dvb/frontends/zl10353.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,12 @@ static int zl10353_init(struct dvb_frontend *fe)

if (debug_regs)
zl10353_dump_regs(fe);
if (state->config.parallel_ts)
zl10353_reset_attach[2] &= ~0x20;

/* Do a "hard" reset if not already done */
if (zl10353_read_register(state, 0x50) != 0x03) {
if (zl10353_read_register(state, 0x50) != zl10353_reset_attach[1] ||
zl10353_read_register(state, 0x51) != zl10353_reset_attach[2]) {
rc = zl10353_write(fe, zl10353_reset_attach,
sizeof(zl10353_reset_attach));
if (debug_regs)
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/media/dvb/frontends/zl10353.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ struct zl10353_config

/* set if no pll is connected to the secondary i2c bus */
int no_tuner;

/* set if parallel ts output is required */
int parallel_ts;
};

#if defined(CONFIG_DVB_ZL10353) || defined(CONFIG_DVB_ZL10353_MODULE)
Expand Down

0 comments on commit f8a24bb

Please sign in to comment.