]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
V4L/DVB: cx18/cx25840/saa7115/tvp5150: remove vbi support from s_fmt
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 1 May 2010 19:07:04 +0000 (16:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:58:52 +0000 (12:58 -0300)
Now that s_fmt is no longer used for VBI format setup in subdevs, remove
the VBI support from s_fmt.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-av-core.c
drivers/media/video/cx25840/cx25840-core.c
drivers/media/video/saa7115.c
drivers/media/video/tvp5150.c

index c0289230209441d82b94aa1cd29391514eee45b9..0e5006b14279994d07d14ca2ae4747548c0641f9 100644 (file)
@@ -1098,12 +1098,6 @@ static int cx18_av_s_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt)
                cx18_av_write(cx, 0x41e, 0x8 | filter);
                break;
 
-       case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE:
-               return cx18_av_s_sliced_fmt(sd, &fmt->fmt.sliced);
-
-       case V4L2_BUF_TYPE_VBI_CAPTURE:
-               return cx18_av_s_raw_fmt(sd, &fmt->fmt.vbi);
-
        default:
                return -EINVAL;
        }
index a20df8c184ed9d06d85947ff02b089e09b17a105..8b6fb35443769140ac04de0d241765f47f9974be 100644 (file)
@@ -1079,12 +1079,6 @@ static int cx25840_s_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt)
                cx25840_write(client, 0x41e, 0x8 | filter);
                break;
 
-       case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE:
-               return cx25840_s_sliced_fmt(sd, &fmt->fmt.sliced);
-
-       case V4L2_BUF_TYPE_VBI_CAPTURE:
-               return cx25840_s_raw_fmt(sd, &fmt->fmt.vbi);
-
        default:
                return -EINVAL;
        }
index cf77318ede4314fcbffb5d1fcba3cc64e0c43f12..53b6fcde3800076cd416ebc0eca82eb984834c88 100644 (file)
@@ -1138,10 +1138,6 @@ static int saa711x_s_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_f
 
 static int saa711x_s_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt)
 {
-       if (fmt->type == V4L2_BUF_TYPE_SLICED_VBI_CAPTURE)
-               return saa711x_s_sliced_fmt(sd, &fmt->fmt.sliced);
-       if (fmt->type == V4L2_BUF_TYPE_VBI_CAPTURE)
-               return saa711x_s_raw_fmt(sd, &fmt->fmt.vbi);
        if (fmt->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
                return -EINVAL;
 
index 853dd6f39b97b71cbbe2381820a3f6134e27ccc8..47f0582d50a58e36ffb51d394f4b366fe92c776a 100644 (file)
@@ -937,9 +937,6 @@ static int tvp5150_s_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_f
 static int tvp5150_s_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt)
 {
        switch (fmt->type) {
-       case V4L2_BUF_TYPE_VBI_CAPTURE:
-               return tvp5150_s_raw_fmt(sd, &fmt->fmt.vbi);
-
        case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE:
                return tvp5150_s_sliced_fmt(sd, &fmt->fmt.sliced);