diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-21 02:35:38 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-21 02:35:38 +0000 |
commit | 50ee235124bde04fe78791e1250c1bdddd9a0008 (patch) | |
tree | bad920266044d08eee753b855381175d08dd3eee /linux/drivers | |
parent | 4fdfdb6ddd33cacfcb96890632be7ae0236633ea (diff) | |
download | mediapointer-dvb-s2-50ee235124bde04fe78791e1250c1bdddd9a0008.tar.gz mediapointer-dvb-s2-50ee235124bde04fe78791e1250c1bdddd9a0008.tar.bz2 |
- VIDIOCSTUNER removed.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/tuner-core.c | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c index d86e234e3..29ce58986 100644 --- a/linux/drivers/media/video/tuner-core.c +++ b/linux/drivers/media/video/tuner-core.c @@ -1,5 +1,5 @@ /* - * $Id: tuner-core.c,v 1.27 2005/06/20 15:35:05 mchehab Exp $ + * $Id: tuner-core.c,v 1.28 2005/06/21 02:35:38 mchehab Exp $ * * i2c tv tuner chip device driver * core core, i.e. kernel interfaces, registering and so on @@ -516,36 +516,6 @@ tuner_command(struct i2c_client *client, unsigned int cmd, void *arg) } break; } - case VIDIOCSTUNER: - { -#if 0 - /* This is NOT an expected valid behavior for V4L1 API CALL... Should be used only for testing purposes */ - struct video_tuner *vt = arg; - struct v4l2_tuner tuner; - - CHECK_ADDR(radio_tuner,"VIDIOCSTUNER","radio"); -/* CHECK_V4L2; */ - - memcpy (&tuner, t, sizeof(struct v4l2_tuner) ); - - if ( VIDEO_TUNER_STEREO_ON & vt->flags) { - tuner_dbg ("radio: stereo\n"); - tuner.audmode=V4L2_TUNER_MODE_STEREO; - } else { - tuner_dbg ("radio: mono\n"); - tuner.audmode=V4L2_TUNER_MODE_MONO; - } - - if (t->set_tuner) { - t->set_tuner(client,&tuner); - } else { - tuner_dbg ("Unimplemented IOCTL VIDIO_S_TUNER called to tuner-core.\n"); - } - break; -#endif - - return 0; - } case VIDIOC_S_TUNER: /* Allow changing radio range and audio mode */ { struct v4l2_tuner *tuner = arg; |