Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285559
b: refs/heads/master
c: fd12984
h: refs/heads/master
i:
  285557: 17c2873
  285555: 1d0b42f
  285551: b53f8f3
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Dec 31, 2011
1 parent f2abd32 commit de5f0ba
Show file tree
Hide file tree
Showing 2 changed files with 9 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: d42c08695a3f636feb844e15efd6b653fca84e44
refs/heads/master: fd12984456d42bf917eb9c84e47666bd9bf33fb5
16 changes: 8 additions & 8 deletions trunk/drivers/media/dvb/frontends/s5h1409.c
Original file line number Diff line number Diff line change
Expand Up @@ -631,9 +631,9 @@ static void s5h1409_set_qam_interleave_mode_legacy(struct dvb_frontend *fe)
}

/* Talk to the demod, set the FEC, GUARD, QAM settings etc */
static int s5h1409_set_frontend(struct dvb_frontend *fe,
struct dvb_frontend_parameters *p)
static int s5h1409_set_frontend(struct dvb_frontend *fe)
{
struct dtv_frontend_properties *p = &fe->dtv_property_cache;
struct s5h1409_state *state = fe->demodulator_priv;

dprintk("%s(frequency=%d)\n", __func__, p->frequency);
Expand All @@ -642,7 +642,7 @@ static int s5h1409_set_frontend(struct dvb_frontend *fe,

state->current_frequency = p->frequency;

s5h1409_enable_modulation(fe, p->u.vsb.modulation);
s5h1409_enable_modulation(fe, p->modulation);

if (fe->ops.tuner_ops.set_params) {
if (fe->ops.i2c_gate_ctrl)
Expand Down Expand Up @@ -926,12 +926,12 @@ static int s5h1409_read_ber(struct dvb_frontend *fe, u32 *ber)
}

static int s5h1409_get_frontend(struct dvb_frontend *fe,
struct dvb_frontend_parameters *p)
struct dtv_frontend_properties *p)
{
struct s5h1409_state *state = fe->demodulator_priv;

p->frequency = state->current_frequency;
p->u.vsb.modulation = state->current_modulation;
p->modulation = state->current_modulation;

return 0;
}
Expand Down Expand Up @@ -996,7 +996,7 @@ struct dvb_frontend *s5h1409_attach(const struct s5h1409_config *config,
EXPORT_SYMBOL(s5h1409_attach);

static struct dvb_frontend_ops s5h1409_ops = {

.delsys = { SYS_ATSC, SYS_DVBC_ANNEX_B },
.info = {
.name = "Samsung S5H1409 QAM/8VSB Frontend",
.type = FE_ATSC,
Expand All @@ -1008,8 +1008,8 @@ static struct dvb_frontend_ops s5h1409_ops = {

.init = s5h1409_init,
.i2c_gate_ctrl = s5h1409_i2c_gate_ctrl,
.set_frontend_legacy = s5h1409_set_frontend,
.get_frontend_legacy = s5h1409_get_frontend,
.set_frontend = s5h1409_set_frontend,
.get_frontend = s5h1409_get_frontend,
.get_tune_settings = s5h1409_get_tune_settings,
.read_status = s5h1409_read_status,
.read_ber = s5h1409_read_ber,
Expand Down

0 comments on commit de5f0ba

Please sign in to comment.