Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61308
b: refs/heads/master
c: 9ee476a
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Mauro Carvalho Chehab committed Jul 18, 2007
1 parent 8bb2cfd commit 5e5da3c
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: 0c71bf1c3065e80cc3ab91293829169bdeda2c42
refs/heads/master: 9ee476a56c3ee119a02b6823659f5698b1241f04
8 changes: 4 additions & 4 deletions trunk/drivers/media/video/tuner-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

/* standard i2c insmod options */
static unsigned short normal_i2c[] = {
#ifdef CONFIG_TUNER_5761
#ifdef CONFIG_TUNER_TEA5761
0x10,
#endif
0x42, 0x43, 0x4a, 0x4b, /* tda8290 */
Expand Down Expand Up @@ -195,12 +195,12 @@ static void set_type(struct i2c_client *c, unsigned int type,
}
t->mode_mask = T_RADIO;
break;
#ifdef CONFIG_TUNER_5761
#ifdef CONFIG_TUNER_TEA5761
case TUNER_TEA5761:
if (tea5761_tuner_init(c) == EINVAL) {
t->type = TUNER_ABSENT;
t->mode_mask = T_UNINITIALIZED;
return -ENODEV;
return;
}
t->mode_mask = T_RADIO;
break;
Expand Down Expand Up @@ -475,7 +475,7 @@ static int tuner_attach(struct i2c_adapter *adap, int addr, int kind)
/* autodetection code based on the i2c addr */
if (!no_autodetect) {
switch (addr) {
#ifdef CONFIG_TUNER_5761
#ifdef CONFIG_TUNER_TEA5761
case 0x10:
if (tea5761_autodetection(&t->i2c) != EINVAL) {
t->type = TUNER_TEA5761;
Expand Down

0 comments on commit 5e5da3c

Please sign in to comment.