提交 11cda107 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

V4L/DVB (3609): Remove VIDIOC_S_AUDIO from tvaudio: no longer used.

Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 39b6f687
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册