V4L/DVB (3609): Remove VIDIOC_S_AUDIO from tvaudio: no longer used.
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 25 Mar 2006 12:55:23 +0000 (09:55 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 2 Apr 2006 07:54:58 +0000 (04:54 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tvaudio.c

index 356bff455ad18109080a132937fb7e3330f07289..c2b756107548ff56625b4d5c608381ffbf01746b 100644 (file)
@@ -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;