Skip to content

Commit

Permalink
V4L/DVB (3609): Remove VIDIOC_S_AUDIO from tvaudio: no longer used.
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Apr 2, 2006
1 parent 39b6f68 commit 11cda10
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions drivers/media/video/tvaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 11cda10

Please sign in to comment.