Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37391
b: refs/heads/master
c: 294d83d
h: refs/heads/master
i:
  37389: 18fea4c
  37387: ee93073
  37383: 84fcdd5
  37375: ed12fbb
v: v3
  • Loading branch information
matthieu castet authored and Mauro Carvalho Chehab committed Sep 26, 2006
1 parent 6a83459 commit 1c16ab0
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 0f69e7f3f5256ab392fc44e7340777348b5da2cd
refs/heads/master: 294d83d7fed1ba5a15b625500b96b3fbf60138ad
13 changes: 7 additions & 6 deletions trunk/drivers/media/dvb/frontends/mt2060.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,6 @@ static void mt2060_calibrate(struct mt2060_priv *priv)
dprintk("FMCAL timed out");
}

static int mt2060_calc_regs(struct dvb_frontend *fe, struct dvb_frontend_parameters *params, u8 *buf, int buf_len)
{
return -ENODEV;
}

static int mt2060_get_frequency(struct dvb_frontend *fe, u32 *frequency)
{
struct mt2060_priv *priv = fe->tuner_priv;
Expand All @@ -296,6 +291,12 @@ static int mt2060_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
return 0;
}

static int mt2060_init(struct dvb_frontend *fe)
{
struct mt2060_priv *priv = fe->tuner_priv;
return mt2060_writereg(priv, REG_VGAG,0x33);
}

static int mt2060_sleep(struct dvb_frontend *fe)
{
struct mt2060_priv *priv = fe->tuner_priv;
Expand All @@ -319,10 +320,10 @@ static const struct dvb_tuner_ops mt2060_tuner_ops = {

.release = mt2060_release,

.init = mt2060_init,
.sleep = mt2060_sleep,

.set_params = mt2060_set_params,
.calc_regs = mt2060_calc_regs,
.get_frequency = mt2060_get_frequency,
.get_bandwidth = mt2060_get_bandwidth
};
Expand Down

0 comments on commit 1c16ab0

Please sign in to comment.