diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-02 10:57:03 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:01:02 -0500 |
commit | 6cb45879dca84c667996d65a12880db6705a2b0e (patch) | |
tree | 1548d262b2bcf68eeaf07d5ec5fa33af5e0a11af /drivers/media/video/tuner-core.c | |
parent | 12466577853b0d057f4416f4c7020e544f3a4209 (diff) |
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.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index d1d6c664bb09..ce817a17ccf1 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) | |||
193 | set_tv_freq(c, freq); | 193 | set_tv_freq(c, freq); |
194 | t->tv_freq = freq; | 194 | t->tv_freq = freq; |
195 | break; | 195 | break; |
196 | default: | ||
197 | tuner_dbg("freq set: unknown mode: 0x%04x!\n",t->mode); | ||
196 | } | 198 | } |
197 | } | 199 | } |
198 | 200 | ||
@@ -320,6 +322,9 @@ static void set_type(struct i2c_client *c, unsigned int type, | |||
320 | i2c_master_send(c,buffer,4); | 322 | i2c_master_send(c,buffer,4); |
321 | attach_simple_tuner(t); | 323 | attach_simple_tuner(t); |
322 | break; | 324 | break; |
325 | case TUNER_XC2028: | ||
326 | xc2028_tuner_init(c); | ||
327 | break; | ||
323 | case TUNER_TDA9887: | 328 | case TUNER_TDA9887: |
324 | tda9887_tuner_init(t); | 329 | tda9887_tuner_init(t); |
325 | break; | 330 | break; |