projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39b6f68
)
V4L/DVB (3609): Remove VIDIOC_S_AUDIO from tvaudio: no longer used.
author
Hans Verkuil
<
[email protected]
>
Sat, 25 Mar 2006 12:55:23 +0000
(09:55 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Sun, 2 Apr 2006 07:54:58 +0000
(
04:54
-0300)
Signed-off-by: Hans Verkuil <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/video/tvaudio.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/tvaudio.c
b/drivers/media/video/tvaudio.c
index 356bff455ad18109080a132937fb7e3330f07289..c2b756107548ff56625b4d5c608381ffbf01746b 100644
(file)
--- 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;