diff options
author | Nickolay V. Shmyrev <devnull@localhost> | 2005-06-17 20:49:30 +0000 |
---|---|---|
committer | Nickolay V. Shmyrev <devnull@localhost> | 2005-06-17 20:49:30 +0000 |
commit | a085c62e8b7277e8802f295059ad35a8fcb73e2e (patch) | |
tree | c1432e4d7a642e299de8690171121fa7a55fcfdc /linux/drivers/media/video/cx88/cx88-video.c | |
parent | 1a8395bd7f1fd3496f8812dd01d75feb3fe2cd0b (diff) | |
download | mediapointer-dvb-s2-a085c62e8b7277e8802f295059ad35a8fcb73e2e.tar.gz mediapointer-dvb-s2-a085c62e8b7277e8802f295059ad35a8fcb73e2e.tar.bz2 |
* Make.config, Makefile, cx88-core.c, cx88-video.c:
* cx88.h, msp3400.c, saa6752hs.c:
* tda9887.c, tuner-core.c, tvaudio.c, tveeprom.c:
- Remove unneeded config options. Now I2C_CLIENT_MULTI
and I2C_NORMAL_RANGE is checked on the fly.
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-video.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-video.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-video.c b/linux/drivers/media/video/cx88/cx88-video.c index 3ceb8cb96..7edb24afa 100644 --- a/linux/drivers/media/video/cx88/cx88-video.c +++ b/linux/drivers/media/video/cx88/cx88-video.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-video.c,v 1.66 2005/06/17 03:36:10 mchehab Exp $ + * $Id: cx88-video.c,v 1.67 2005/06/17 20:49:30 nsh Exp $ * * device driver for Conexant 2388x based TV cards * video4linux video interface @@ -1616,11 +1616,7 @@ static int video_do_ioctl(struct inode *inode, struct file *file, down(&dev->lock); dev->freq = f->frequency; cx88_newstation(core); -#ifdef V4L2_I2C_CLIENTS cx88_call_i2c_clients(dev->core,VIDIOC_S_FREQUENCY,f); -#else - cx88_call_i2c_clients(dev->core,VIDIOCSFREQ,&dev->freq); -#endif up(&dev->lock); return 0; } @@ -1731,16 +1727,7 @@ static int radio_do_ioctl(struct inode *inode, struct file *file, memset(t,0,sizeof(*t)); strcpy(t->name, "Radio"); -#ifdef V4L2_I2C_CLIENTS cx88_call_i2c_clients(dev->core,VIDIOC_G_TUNER,t); -#else - { - struct video_tuner vt; - memset(&vt,0,sizeof(vt)); - cx88_call_i2c_clients(dev,VIDIOCGTUNER,&vt); - t->signal = vt.signal; - } -#endif return 0; } case VIDIOC_ENUMINPUT: |