aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/tuner-core.c')
-rw-r--r--drivers/media/video/tuner-core.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index df994311251e..fd18a882668e 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -20,6 +20,7 @@
20#include <linux/init.h> 20#include <linux/init.h>
21 21
22#include <media/tuner.h> 22#include <media/tuner.h>
23#include <media/v4l2-common.h>
23#include <media/audiochip.h> 24#include <media/audiochip.h>
24 25
25#include "msp3400.h" 26#include "msp3400.h"
@@ -545,6 +546,9 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg)
545{ 546{
546 struct tuner *t = i2c_get_clientdata(client); 547 struct tuner *t = i2c_get_clientdata(client);
547 548
549 if (tuner_debug>1)
550 v4l_i2c_print_ioctl(&(t->i2c),cmd);
551
548 switch (cmd) { 552 switch (cmd) {
549 /* --- configuration --- */ 553 /* --- configuration --- */
550 case TUNER_SET_TYPE_ADDR: 554 case TUNER_SET_TYPE_ADDR:
@@ -576,9 +580,6 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg)
576 tuner_dbg("VIDIOCSAUDIO not implemented.\n"); 580 tuner_dbg("VIDIOCSAUDIO not implemented.\n");
577 581
578 break; 582 break;
579 case MSP_SET_MATRIX:
580 case TDA9887_SET_CONFIG:
581 break;
582 /* --- v4l ioctls --- */ 583 /* --- v4l ioctls --- */
583 /* take care: bttv does userspace copying, we'll get a 584 /* take care: bttv does userspace copying, we'll get a
584 kernel pointer here... */ 585 kernel pointer here... */
@@ -764,11 +765,6 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg)
764 case VIDIOC_LOG_STATUS: 765 case VIDIOC_LOG_STATUS:
765 tuner_status(client); 766 tuner_status(client);
766 break; 767 break;
767 default:
768 tuner_dbg("Unimplemented IOCTL 0x%08x(dir=%d,tp='%c',nr=%d,sz=%d)\n",
769 cmd, _IOC_DIR(cmd), _IOC_TYPE(cmd),
770 _IOC_NR(cmd), _IOC_SIZE(cmd));
771 break;
772 } 768 }
773 769
774 return 0; 770 return 0;