summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/tuner-core.c')
-rw-r--r--linux/drivers/media/video/tuner-core.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c
index 6bebe514a..e360a5c02 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.24 2005/06/19 17:17:34 mchehab Exp $
+ * $Id: tuner-core.c,v 1.25 2005/06/19 20:05:12 mchehab Exp $
*
* i2c tv tuner chip device driver
* core core, i.e. kernel interfaces, registering and so on
@@ -515,14 +515,17 @@ tuner_command(struct i2c_client *client, unsigned int cmd, void *arg)
struct v4l2_tuner tuner;
CHECK_ADDR(radio_tuner,"VIDIOCSTUNER","radio");
- CHECK_V4L2;
+/* CHECK_V4L2; */
memcpy (&tuner, t, sizeof(struct v4l2_tuner) );
- if ( VIDEO_TUNER_STEREO_ON & vt->flags)
+ if ( VIDEO_TUNER_STEREO_ON & vt->flags) {
+ tuner_dbg ("radio: stereo\n");
tuner.audmode=V4L2_TUNER_MODE_STEREO;
- else
+ } else {
+ tuner_dbg ("radio: mono\n");
tuner.audmode=V4L2_TUNER_MODE_MONO;
+ }
if (t->set_tuner) {
t->set_tuner(client,&tuner);