summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-06-21 02:35:38 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-06-21 02:35:38 +0000
commit50ee235124bde04fe78791e1250c1bdddd9a0008 (patch)
treebad920266044d08eee753b855381175d08dd3eee
parent4fdfdb6ddd33cacfcb96890632be7ae0236633ea (diff)
downloadmediapointer-dvb-s2-50ee235124bde04fe78791e1250c1bdddd9a0008.tar.gz
mediapointer-dvb-s2-50ee235124bde04fe78791e1250c1bdddd9a0008.tar.bz2
- VIDIOCSTUNER removed.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
-rw-r--r--linux/drivers/media/video/tuner-core.c32
-rw-r--r--v4l/ChangeLog6
2 files changed, 7 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;
diff --git a/v4l/ChangeLog b/v4l/ChangeLog
index 5dd3538be..31c88b273 100644
--- a/v4l/ChangeLog
+++ b/v4l/ChangeLog
@@ -1,3 +1,9 @@
+2005-06-21 0240 mchehab
+ *tuner-core.c:
+ - VIDIOCSTUNER removed.
+
+ Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
+
2005-06-20 18:04 mkrufky
* saa7134-core.c:
- Fix kernel compile error with CONFIG_MODULES=n