Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124308
b: refs/heads/master
c: 92d90f1
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Dec 30, 2008
1 parent ba3f1c5 commit 816bff1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: e5218eedaef39ed5f1ebc84ab9510dd9b99acadf
refs/heads/master: 92d90f1a57dcb6c6ab5a7b9ad949bdb7531931a4
8 changes: 4 additions & 4 deletions trunk/drivers/media/common/tuners/tda827x.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ static int tda827xo_set_params(struct dvb_frontend *fe,
fe->ops.i2c_gate_ctrl(fe, 1);
i2c_transfer(priv->i2c_adap, &msg, 1);

priv->frequency = tuner_freq - if_freq; // FIXME
priv->frequency = params->frequency;
priv->bandwidth = (fe->ops.info.type == FE_OFDM) ? params->u.ofdm.bandwidth : 0;

return 0;
Expand Down Expand Up @@ -305,7 +305,7 @@ static int tda827xo_set_analog_params(struct dvb_frontend *fe,
reg2[1] = 0x08; /* Vsync en */
i2c_transfer(priv->i2c_adap, &msg, 1);

priv->frequency = freq * 62500;
priv->frequency = params->frequency;

return 0;
}
Expand Down Expand Up @@ -592,7 +592,7 @@ static int tda827xa_set_params(struct dvb_frontend *fe,
fe->ops.i2c_gate_ctrl(fe, 1);
i2c_transfer(priv->i2c_adap, &msg, 1);

priv->frequency = tuner_freq - if_freq; // FIXME
priv->frequency = params->frequency;
priv->bandwidth = (fe->ops.info.type == FE_OFDM) ? params->u.ofdm.bandwidth : 0;

return 0;
Expand Down Expand Up @@ -692,7 +692,7 @@ static int tda827xa_set_analog_params(struct dvb_frontend *fe,
tuner_reg[1] = 0x19 + (priv->lpsel << 1);
i2c_transfer(priv->i2c_adap, &msg, 1);

priv->frequency = freq * 62500;
priv->frequency = params->frequency;

return 0;
}
Expand Down

0 comments on commit 816bff1

Please sign in to comment.