summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-10-02 11:57:03 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:01:02 -0200
commit6cb45879dca84c667996d65a12880db6705a2b0e (patch)
tree1548d262b2bcf68eeaf07d5ec5fa33af5e0a11af /drivers/media/video/tuner-core.c
parent12466577853b0d057f4416f4c7020e544f3a4209 (diff)
downloadop-kernel-dev-6cb45879dca84c667996d65a12880db6705a2b0e.zip
op-kernel-dev-6cb45879dca84c667996d65a12880db6705a2b0e.tar.gz
V4L/DVB (6423): Add tuner-xc2028 driver
Add support for Xceive XC2028/XC3028 tuner driver Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-core.c')
-rw-r--r--drivers/media/video/tuner-core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index d1d6c66..ce817a1 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -193,6 +193,8 @@ static void set_freq(struct i2c_client *c, unsigned long freq)
set_tv_freq(c, freq);
t->tv_freq = freq;
break;
+ default:
+ tuner_dbg("freq set: unknown mode: 0x%04x!\n",t->mode);
}
}
@@ -320,6 +322,9 @@ 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:
+ xc2028_tuner_init(c);
+ break;
case TUNER_TDA9887:
tda9887_tuner_init(t);
break;
OpenPOWER on IntegriCloud