summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tvaudio.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-03-25 13:55:23 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2006-03-25 13:55:23 +0100
commitf34ad6a62180091accff9563943bfcdf3364136f (patch)
treef4ec2e82a65af9053206a9d3dd41fccb75c185fa /linux/drivers/media/video/tvaudio.c
parent1b05455603d8adbfd4e694422972e4c812981ff3 (diff)
downloadmediapointer-dvb-s2-f34ad6a62180091accff9563943bfcdf3364136f.tar.gz
mediapointer-dvb-s2-f34ad6a62180091accff9563943bfcdf3364136f.tar.bz2
Remove VIDIOC_S_AUDIO from tvaudio: no longer used.
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/tvaudio.c')
-rw-r--r--linux/drivers/media/video/tvaudio.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/linux/drivers/media/video/tvaudio.c b/linux/drivers/media/video/tvaudio.c
index 15c3cc595..ae0d13cec 100644
--- a/linux/drivers/media/video/tvaudio.c
+++ b/linux/drivers/media/video/tvaudio.c
@@ -1747,21 +1747,6 @@ static int chip_command(struct i2c_client *client,
break;
}
- case VIDIOC_S_AUDIO:
- {
- struct v4l2_audio *sarg = arg;
-
- if (!(desc->flags & CHIP_HAS_INPUTSEL) || sarg->index >= 4)
- return -EINVAL;
- /* There are four inputs: tuner, radio, extern and intern. */
- chip->input = sarg->index;
- if (chip->muted)
- break;
- chip_write_masked(chip, desc->inputreg,
- desc->inputmap[chip->input], desc->inputmask);
- break;
- }
-
case VIDIOC_S_TUNER:
{
struct v4l2_tuner *vt = arg;