Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285656
b: refs/heads/master
c: 5160e81
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jan 5, 2012
1 parent 0554b24 commit 065ff92
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: b52e7c768724bde20669f37f37290922de348151
refs/heads/master: 5160e81b9992d6a34d30c5dd80bc62045e481d1f
8 changes: 4 additions & 4 deletions trunk/drivers/media/common/tuners/mt2063.c
Original file line number Diff line number Diff line change
Expand Up @@ -2190,7 +2190,7 @@ static int mt2063_set_params(struct dvb_frontend *fe)
return 0;
}

static int mt2063_get_frequency(struct dvb_frontend *fe, u32 *freq)
static int mt2063_get_if_frequency(struct dvb_frontend *fe, u32 *freq)
{
struct mt2063_state *state = fe->tuner_priv;

Expand All @@ -2199,9 +2199,9 @@ static int mt2063_get_frequency(struct dvb_frontend *fe, u32 *freq)
if (!state->init)
return -ENODEV;

*freq = state->frequency;
*freq = state->reference * 1000;

dprintk(1, "frequency: %d\n", *freq);
dprintk(1, "IF frequency: %d\n", *freq);

return 0;
}
Expand Down Expand Up @@ -2235,7 +2235,7 @@ static struct dvb_tuner_ops mt2063_ops = {
.get_status = mt2063_get_status,
.set_analog_params = mt2063_set_analog_params,
.set_params = mt2063_set_params,
.get_frequency = mt2063_get_frequency,
.get_if_frequency = mt2063_get_if_frequency,
.get_bandwidth = mt2063_get_bandwidth,
.release = mt2063_release,
};
Expand Down

0 comments on commit 065ff92

Please sign in to comment.