]> err.no Git - linux-2.6/commitdiff
V4L/DVB (6414): Remove bass, treble and balance from audio hook since they are unused
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>
Fri, 26 Oct 2007 20:15:19 +0000 (17:15 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:00:59 +0000 (19:00 -0200)
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/bt8xx/bttv-driver.c

index 2cdbac302092735f5ca95798af28e2d87335f0aa..28b3a3efb84fc5509e5480d5583903bcca9aca45 100644 (file)
@@ -1454,15 +1454,6 @@ static int get_control(struct bttv *btv, struct v4l2_control *c)
                case V4L2_CID_AUDIO_VOLUME:
                        c->value = va.volume;
                        break;
-               case V4L2_CID_AUDIO_BALANCE:
-                       c->value = va.balance;
-                       break;
-               case V4L2_CID_AUDIO_BASS:
-                       c->value = va.bass;
-                       break;
-               case V4L2_CID_AUDIO_TREBLE:
-                       c->value = va.treble;
-                       break;
                }
                return 0;
        }
@@ -1557,15 +1548,6 @@ static int set_control(struct bttv *btv, struct v4l2_control *c)
                case V4L2_CID_AUDIO_VOLUME:
                        va.volume = c->value;
                        break;
-               case V4L2_CID_AUDIO_BALANCE:
-                       va.balance = c->value;
-                       break;
-               case V4L2_CID_AUDIO_BASS:
-                       va.bass = c->value;
-                       break;
-               case V4L2_CID_AUDIO_TREBLE:
-                       va.treble = c->value;
-                       break;
                }
                btv->audio_hook(btv,&va,1);
                return 0;
@@ -2899,18 +2881,6 @@ static int bttv_do_ioctl(struct inode *inode, struct file *file,
                                if (!(va.flags & VIDEO_AUDIO_VOLUME))
                                        *c = no_ctl;
                                break;
-                       case V4L2_CID_AUDIO_BALANCE:
-                               if (!(va.flags & VIDEO_AUDIO_BALANCE))
-                                       *c = no_ctl;
-                               break;
-                       case V4L2_CID_AUDIO_BASS:
-                               if (!(va.flags & VIDEO_AUDIO_BASS))
-                                       *c = no_ctl;
-                               break;
-                       case V4L2_CID_AUDIO_TREBLE:
-                               if (!(va.flags & VIDEO_AUDIO_TREBLE))
-                                       *c = no_ctl;
-                               break;
                        }
                }
 #endif