aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt8xx/bttv-driver.c
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>2007-10-26 16:15:19 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:00:59 -0500
commitde5bec6bb57e88db7efa49c6f7de0794ae67d06a (patch)
treec0f52400dfa54a35e693b838ec7d55f6fd9e0a94 /drivers/media/video/bt8xx/bttv-driver.c
parent5b261016f04eb5df1e1e652794f1f4d7dd072566 (diff)
V4L/DVB (6414): Remove bass, treble and balance from audio hook since they are unused
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/bt8xx/bttv-driver.c')
-rw-r--r--drivers/media/video/bt8xx/bttv-driver.c30
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 2cdbac302092..28b3a3efb84f 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)
1454 case V4L2_CID_AUDIO_VOLUME: 1454 case V4L2_CID_AUDIO_VOLUME:
1455 c->value = va.volume; 1455 c->value = va.volume;
1456 break; 1456 break;
1457 case V4L2_CID_AUDIO_BALANCE:
1458 c->value = va.balance;
1459 break;
1460 case V4L2_CID_AUDIO_BASS:
1461 c->value = va.bass;
1462 break;
1463 case V4L2_CID_AUDIO_TREBLE:
1464 c->value = va.treble;
1465 break;
1466 } 1457 }
1467 return 0; 1458 return 0;
1468 } 1459 }
@@ -1557,15 +1548,6 @@ static int set_control(struct bttv *btv, struct v4l2_control *c)
1557 case V4L2_CID_AUDIO_VOLUME: 1548 case V4L2_CID_AUDIO_VOLUME:
1558 va.volume = c->value; 1549 va.volume = c->value;
1559 break; 1550 break;
1560 case V4L2_CID_AUDIO_BALANCE:
1561 va.balance = c->value;
1562 break;
1563 case V4L2_CID_AUDIO_BASS:
1564 va.bass = c->value;
1565 break;
1566 case V4L2_CID_AUDIO_TREBLE:
1567 va.treble = c->value;
1568 break;
1569 } 1551 }
1570 btv->audio_hook(btv,&va,1); 1552 btv->audio_hook(btv,&va,1);
1571 return 0; 1553 return 0;
@@ -2899,18 +2881,6 @@ static int bttv_do_ioctl(struct inode *inode, struct file *file,
2899 if (!(va.flags & VIDEO_AUDIO_VOLUME)) 2881 if (!(va.flags & VIDEO_AUDIO_VOLUME))
2900 *c = no_ctl; 2882 *c = no_ctl;
2901 break; 2883 break;
2902 case V4L2_CID_AUDIO_BALANCE:
2903 if (!(va.flags & VIDEO_AUDIO_BALANCE))
2904 *c = no_ctl;
2905 break;
2906 case V4L2_CID_AUDIO_BASS:
2907 if (!(va.flags & VIDEO_AUDIO_BASS))
2908 *c = no_ctl;
2909 break;
2910 case V4L2_CID_AUDIO_TREBLE:
2911 if (!(va.flags & VIDEO_AUDIO_TREBLE))
2912 *c = no_ctl;
2913 break;
2914 } 2884 }
2915 } 2885 }
2916#endif 2886#endif