Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164168
b: refs/heads/master
c: 9346389
h: refs/heads/master
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Sep 19, 2009
1 parent 9cf4d2c commit 020b0bd
Show file tree
Hide file tree
Showing 5 changed files with 19 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: eb3b2d89bcd7bbdcff46f427d0f6f85c9e88701d
refs/heads/master: 93463895ae0a87b689d71d65c44d5ccdcd950dc4
1 change: 1 addition & 0 deletions trunk/Documentation/video4linux/CARDLIST.tuner
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,4 @@ tuner=79 - Philips PAL/SECAM multi (FM1216 MK5)
tuner=80 - Philips FQ1216LME MK3 PAL/SECAM w/active loopthrough
tuner=81 - Partsnic (Daewoo) PTI-5NF05
tuner=82 - Philips CU1216L
tuner=83 - NXP TDA18271
4 changes: 4 additions & 0 deletions trunk/drivers/media/common/tuners/tuner-types.c
Original file line number Diff line number Diff line change
Expand Up @@ -1801,6 +1801,10 @@ struct tunertype tuners[] = {
.count = ARRAY_SIZE(tuner_philips_cu1216l_params),
.stepsize = 62500,
},
[TUNER_NXP_TDA18271] = {
.name = "NXP TDA18271",
/* see tda18271-fe.c for details */
},
};
EXPORT_SYMBOL(tuners);

Expand Down
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 @@ -29,6 +29,7 @@
#include "tuner-simple.h"
#include "tda9887.h"
#include "xc5000.h"
#include "tda18271.h"

#define UNSET (-1U)

Expand Down Expand Up @@ -420,6 +421,17 @@ static void set_type(struct i2c_client *c, unsigned int type,
goto attach_failed;
break;
}
case TUNER_NXP_TDA18271:
{
struct tda18271_config cfg = {
.config = t->config,
};

if (!dvb_attach(tda18271_attach, &t->fe, t->i2c->addr,
t->i2c->adapter, &cfg))
goto attach_failed;
break;
}
default:
if (!dvb_attach(simple_tuner_attach, &t->fe,
t->i2c->adapter, t->i2c->addr, t->type))
Expand Down
1 change: 1 addition & 0 deletions trunk/include/media/tuner.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
#define TUNER_PHILIPS_FQ1216LME_MK3 80 /* Active loopthrough, no FM */
#define TUNER_PARTSNIC_PTI_5NF05 81
#define TUNER_PHILIPS_CU1216L 82
#define TUNER_NXP_TDA18271 83

/* tv card specific */
#define TDA9887_PRESENT (1<<0)
Expand Down

0 comments on commit 020b0bd

Please sign in to comment.