Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61318
b: refs/heads/master
c: 7fd8b26
h: refs/heads/master
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jul 18, 2007
1 parent bbc719e commit 1b107d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 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: c22bcb07ad4555fe7ac4ce724c8ad1de889f9477
refs/heads/master: 7fd8b263678ab8430b49c99976ade681f8a78439
15 changes: 10 additions & 5 deletions trunk/drivers/media/video/tda8290.c
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,14 @@ static void tda8290_release(struct i2c_client *c)
t->priv = NULL;
}

static struct tuner_operations tda8290_tuner_ops = {
.set_tv_freq = set_tv_freq,
.set_radio_freq = set_radio_freq,
.has_signal = has_signal,
.standby = standby,
.release = tda8290_release,
};

int tda8290_init(struct i2c_client *c)
{
struct tda8290_priv *priv = NULL;
Expand Down Expand Up @@ -667,11 +675,8 @@ int tda8290_init(struct i2c_client *c)
}
tuner_info("type set to %s\n", c->name);

t->ops.set_tv_freq = set_tv_freq;
t->ops.set_radio_freq = set_radio_freq;
t->ops.has_signal = has_signal;
t->ops.standby = standby;
t->ops.release = tda8290_release;
memcpy(&t->ops, &tda8290_tuner_ops, sizeof(struct tuner_operations));

priv->tda827x_lpsel = 0;
t->mode = V4L2_TUNER_ANALOG_TV;

Expand Down

0 comments on commit 1b107d0

Please sign in to comment.