Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294931
b: refs/heads/master
c: f21cfaf
h: refs/heads/master
i:
  294929: b5a6273
  294927: f6d1d12
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Feb 14, 2012
1 parent eed5bd2 commit 691b076
Show file tree
Hide file tree
Showing 4 changed files with 21 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: d83988058cba594ac2011a4ca0c50097bd24c2de
refs/heads/master: f21cfaf6381e2330c4e2f619d4cedc72146a8cf7
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 @@ -1868,6 +1868,10 @@ struct tunertype tuners[] = {
.params = tuner_tena_tnf_5337_params,
.count = ARRAY_SIZE(tuner_tena_tnf_5337_params),
},
[TUNER_XC5000C] = { /* Xceive 5000C */
.name = "Xceive 5000C tuner",
/* see xc5000.c for details */
},
};
EXPORT_SYMBOL(tuners);

Expand Down
15 changes: 15 additions & 0 deletions trunk/drivers/media/video/tuner-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,21 @@ static void set_type(struct i2c_client *c, unsigned int type,
tune_now = 0;
break;
}
case TUNER_XC5000C:
{
struct xc5000_config xc5000c_cfg = {
.i2c_address = t->i2c->addr,
/* if_khz will be set at dvb_attach() */
.if_khz = 0,
.fw = XC5000C_DEFAULT_FIRMWARE,
};

if (!dvb_attach(xc5000_attach,
&t->fe, t->i2c->adapter, &xc5000c_cfg))
goto attach_failed;
tune_now = 0;
break;
}
case TUNER_NXP_TDA18271:
{
struct tda18271_config cfg = {
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 @@ -136,6 +136,7 @@
#define TUNER_TENA_TNF_5337 86

#define TUNER_XC4000 87 /* Xceive Silicon Tuner */
#define TUNER_XC5000C 88 /* Xceive Silicon Tuner */

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

0 comments on commit 691b076

Please sign in to comment.