Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=de5bec6bb57e88db7efa49c6f7de0794ae67d06a
Commit:     de5bec6bb57e88db7efa49c6f7de0794ae67d06a
Parent:     5b261016f04eb5df1e1e652794f1f4d7dd072566
Author:     Nickolay V. Shmyrev <[EMAIL PROTECTED]>
AuthorDate: Fri Oct 26 17:15:19 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 19:00:59 2008 -0200

    V4L/DVB (6414): Remove bass, treble and balance from audio hook since they 
are unused
    
    Signed-off-by: Nickolay V. Shmyrev <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/bt8xx/bttv-driver.c |   30 ------------------------------
 1 files changed, 0 insertions(+), 30 deletions(-)

diff --git a/drivers/media/video/bt8xx/bttv-driver.c 
b/drivers/media/video/bt8xx/bttv-driver.c
index 2cdbac3..28b3a3e 100644
--- a/drivers/media/video/bt8xx/bttv-driver.c
+++ b/drivers/media/video/bt8xx/bttv-driver.c
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to