Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285547
b: refs/heads/master
c: 5c6b4e2
h: refs/heads/master
i:
  285545: 2ce5114
  285543: 6effc2e
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Dec 31, 2011
1 parent fc9eac9 commit 2626793
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: 5135986eb0da04faf7313a276e6f7ad7dbed6edb
refs/heads/master: 5c6b4e2b32d0578c7fad1afd056c92354cf4c85b
9 changes: 3 additions & 6 deletions trunk/drivers/media/dvb/frontends/stv0288.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,7 @@ static int stv0288_get_property(struct dvb_frontend *fe, struct dtv_property *p)
return 0;
}

static int stv0288_set_frontend(struct dvb_frontend *fe,
struct dvb_frontend_parameters *dfp)
static int stv0288_set_frontend(struct dvb_frontend *fe)
{
struct stv0288_state *state = fe->demodulator_priv;
struct dtv_frontend_properties *c = &fe->dtv_property_cache;
Expand All @@ -481,8 +480,6 @@ static int stv0288_set_frontend(struct dvb_frontend *fe,
state->config->set_ts_params(fe, 0);

/* only frequency & symbol_rate are used for tuner*/
dfp->frequency = c->frequency;
dfp->u.qpsk.symbol_rate = c->symbol_rate;
if (fe->ops.tuner_ops.set_params) {
fe->ops.tuner_ops.set_params(fe);
if (fe->ops.i2c_gate_ctrl)
Expand Down Expand Up @@ -545,7 +542,7 @@ static void stv0288_release(struct dvb_frontend *fe)
}

static struct dvb_frontend_ops stv0288_ops = {

.delsys = { SYS_DVBS },
.info = {
.name = "ST STV0288 DVB-S",
.type = FE_QPSK,
Expand Down Expand Up @@ -579,7 +576,7 @@ static struct dvb_frontend_ops stv0288_ops = {

.set_property = stv0288_set_property,
.get_property = stv0288_get_property,
.set_frontend_legacy = stv0288_set_frontend,
.set_frontend = stv0288_set_frontend,
};

struct dvb_frontend *stv0288_attach(const struct stv0288_config *config,
Expand Down

0 comments on commit 2626793

Please sign in to comment.