diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-03-25 07:55:23 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-04-02 03:54:58 -0400 |
commit | 11cda1075d8c40e536b77fce6dbf4cdbf8f77736 (patch) | |
tree | 57c3c5743c55d8b920882a365cd627dafb945827 /drivers/media/video/tvaudio.c | |
parent | 39b6f687d31d662461e25dbfe70be990b4c4855b (diff) |
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>
Diffstat (limited to 'drivers/media/video/tvaudio.c')
-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 356bff455ad1..c2b756107548 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, | |||
1706 | break; | 1706 | break; |
1707 | } | 1707 | } |
1708 | 1708 | ||
1709 | case VIDIOC_S_AUDIO: | ||
1710 | { | ||
1711 | struct v4l2_audio *sarg = arg; | ||
1712 | |||
1713 | if (!(desc->flags & CHIP_HAS_INPUTSEL) || sarg->index >= 4) | ||
1714 | return -EINVAL; | ||
1715 | /* There are four inputs: tuner, radio, extern and intern. */ | ||
1716 | chip->input = sarg->index; | ||
1717 | if (chip->muted) | ||
1718 | break; | ||
1719 | chip_write_masked(chip, desc->inputreg, | ||
1720 | desc->inputmap[chip->input], desc->inputmask); | ||
1721 | break; | ||
1722 | } | ||
1723 | |||
1724 | case VIDIOC_S_TUNER: | 1709 | case VIDIOC_S_TUNER: |
1725 | { | 1710 | { |
1726 | struct v4l2_tuner *vt = arg; | 1711 | struct v4l2_tuner *vt = arg; |