Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29899
b: refs/heads/master
c: e994b8d
h: refs/heads/master
i:
  29897: 955ec15
  29895: 46432b1
v: v3
  • Loading branch information
Andrew de Quincey authored and Mauro Carvalho Chehab committed Jun 25, 2006
1 parent c89268a commit ca90f76
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 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: 605ee41c432e550a4e6a4f6fd82013b2989e36a3
refs/heads/master: e994b8d97807536a0f02cff87058d284b29810b7
8 changes: 5 additions & 3 deletions trunk/drivers/media/dvb/frontends/zl10353.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ static int zl10353_sleep(struct dvb_frontend *fe)
static int zl10353_set_parameters(struct dvb_frontend *fe,
struct dvb_frontend_parameters *param)
{
struct zl10353_state *state = fe->demodulator_priv;
u8 pllbuf[6] = { 0x67 };

/* These settings set "auto-everything" and start the FSM. */
Expand All @@ -142,8 +141,11 @@ static int zl10353_set_parameters(struct dvb_frontend *fe,
zl10353_single_write(fe, 0x66, 0xE9);
zl10353_single_write(fe, 0x62, 0x0A);

state->config.pll_set(fe, param, pllbuf + 1);
zl10353_write(fe, pllbuf, sizeof(pllbuf));
if (fe->ops->tuner_ops.pllbuf) {
fe->ops->tuner_ops.pllbuf(fe, param, pllbuf+1, 5);
pllbuf[1] <<= 1;
zl10353_write(fe, pllbuf, sizeof(pllbuf));
}

zl10353_single_write(fe, 0x70, 0x01);
udelay(250);
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/media/dvb/frontends/zl10353.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ struct zl10353_config
{
/* demodulator's I2C address */
u8 demod_address;

/* function which configures the PLL buffer (for secondary I2C
* connected tuner) or tunes the PLL (for direct connected tuner) */
int (*pll_set)(struct dvb_frontend *fe,
struct dvb_frontend_parameters *params, u8 *pllbuf);
};

extern struct dvb_frontend* zl10353_attach(const struct zl10353_config *config,
Expand Down

0 comments on commit ca90f76

Please sign in to comment.