Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76343
b: refs/heads/master
c: 690c544
h: refs/heads/master
i:
  76341: 3ded68b
  76339: 941283d
  76335: 2d62d93
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jan 25, 2008
1 parent d957c51 commit 05bca91
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1cba97d71dca1a3c22b4d7f97893249817036215
refs/heads/master: 690c544cf849e627d3f40a71633d0caf5c33eafe
12 changes: 12 additions & 0 deletions trunk/drivers/media/video/tuner-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,18 @@ static void set_type(struct i2c_client *c, unsigned int type,
i2c_master_send(c,buffer,4);
attach_simple_tuner(t);
break;
case TUNER_XC2028:
{
int rc=xc2028_attach(&t->fe, t->i2c->adapter, t->i2c->addr,
&c->dev, c->adapter->algo_data,
t->tuner_callback);
if (rc<0) {
t->type = TUNER_ABSENT;
t->mode_mask = T_UNINITIALIZED;
return;
}
break;
}
case TUNER_TDA9887:
tda9887_attach(t);
break;
Expand Down

0 comments on commit 05bca91

Please sign in to comment.