summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-01-21 14:39:54 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-21 14:39:54 -0200
commit8f60f0ec3654e9aad263fa4afcd21b2f990f6758 (patch)
treeadcb959c79ed86e0e752cecdf616a0f7c3cbb9da /linux/drivers
parentb090817f003069917ffd7610ded68181de8bd9b0 (diff)
parent09729871a743a1ac9a8cc12d1103b5230a49ce28 (diff)
downloadmediapointer-dvb-s2-8f60f0ec3654e9aad263fa4afcd21b2f990f6758.tar.gz
mediapointer-dvb-s2-8f60f0ec3654e9aad263fa4afcd21b2f990f6758.tar.bz2
merge: http://linuxtv.org/hg/~mkrufky/pending
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/tda8290.c8
-rw-r--r--linux/drivers/media/video/tda9887.c2
-rw-r--r--linux/drivers/media/video/tuner-core.c6
3 files changed, 9 insertions, 7 deletions
diff --git a/linux/drivers/media/video/tda8290.c b/linux/drivers/media/video/tda8290.c
index 31bd84600..1bda0024b 100644
--- a/linux/drivers/media/video/tda8290.c
+++ b/linux/drivers/media/video/tda8290.c
@@ -671,9 +671,6 @@ static int tda8295_probe(struct tuner_i2c_props *i2c_props)
}
static struct analog_demod_ops tda8290_ops = {
- .info = {
- .name = "TDA8290",
- },
.set_params = tda8290_set_params,
.has_signal = tda8290_has_signal,
.standby = tda8290_standby,
@@ -682,9 +679,6 @@ static struct analog_demod_ops tda8290_ops = {
};
static struct analog_demod_ops tda8295_ops = {
- .info = {
- .name = "TDA8295",
- },
.set_params = tda8295_set_params,
.has_signal = tda8295_has_signal,
.standby = tda8295_standby,
@@ -757,6 +751,8 @@ struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe,
}
tuner_info("type set to %s\n", name);
+ fe->ops.analog_ops.info.name = name;
+
if (priv->ver & TDA8290) {
tda8290_init_tuner(fe);
tda8290_init_if(fe);
diff --git a/linux/drivers/media/video/tda9887.c b/linux/drivers/media/video/tda9887.c
index 5962e39c3..fda15da1f 100644
--- a/linux/drivers/media/video/tda9887.c
+++ b/linux/drivers/media/video/tda9887.c
@@ -661,7 +661,7 @@ static void tda9887_release(struct dvb_frontend *fe)
static struct analog_demod_ops tda9887_ops = {
.info = {
- .name = "TDA9887",
+ .name = "tda9887",
},
.set_params = tda9887_set_params,
.standby = tda9887_standby,
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c
index 6305998e2..99bba6415 100644
--- a/linux/drivers/media/video/tuner-core.c
+++ b/linux/drivers/media/video/tuner-core.c
@@ -326,6 +326,12 @@ static void tuner_i2c_address_check(struct tuner *t)
((t->i2c->addr < 0x64) || (t->i2c->addr > 0x6f)))
return;
+ /* We already know that the XC5000 can only be located at
+ * i2c address 0x61, 0x62, 0x63 or 0x64 */
+ if ((t->type == TUNER_XC5000) &&
+ ((t->i2c->addr <= 0x64)) && (t->i2c->addr >= 0x61))
+ return;
+
tuner_warn("====================== WARNING! ======================\n");
tuner_warn("Support for tuners in i2c address range 0x64 thru 0x6f\n");
tuner_warn("will soon be dropped. This message indicates that your\n");