diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-03-25 09:55:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-04-02 04:54:58 -0300 |
commit | 11cda1075d8c40e536b77fce6dbf4cdbf8f77736 (patch) | |
tree | 57c3c5743c55d8b920882a365cd627dafb945827 | |
parent | 39b6f687d31d662461e25dbfe70be990b4c4855b (diff) | |
download | op-kernel-dev-11cda1075d8c40e536b77fce6dbf4cdbf8f77736.zip op-kernel-dev-11cda1075d8c40e536b77fce6dbf4cdbf8f77736.tar.gz |
V4L/DVB (3609): Remove VIDIOC_S_AUDIO from tvaudio: no longer used.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/tvaudio.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c index 356bff4..c2b7561 100644 --- a/drivers/media/video/tvaudio.c +++ b/drivers/media/video/tvaudio.c @@ -1706,21 +1706,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; |