From f34ad6a62180091accff9563943bfcdf3364136f Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Sat, 25 Mar 2006 13:55:23 +0100 Subject: Remove VIDIOC_S_AUDIO from tvaudio: no longer used. From: Hans Verkuil Signed-off-by: Hans Verkuil --- linux/drivers/media/video/tvaudio.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'linux/drivers/media/video/tvaudio.c') 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; -- cgit v1.2.3