diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-05-01 15:07:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:58:52 -0400 |
commit | aae6e33f8df8845603880468624ca29edf4bac64 (patch) | |
tree | 6744783468f29dfb5afabe3fc5cd82776a596992 /drivers/media/video | |
parent | 4a61ecbd344c2349ec3b7a8db0db128135285dd7 (diff) |
V4L/DVB: cx18/cx25840/saa7115/tvp5150: remove vbi support from s_fmt
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>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/cx18/cx18-av-core.c | 6 | ||||
-rw-r--r-- | drivers/media/video/cx25840/cx25840-core.c | 6 | ||||
-rw-r--r-- | drivers/media/video/saa7115.c | 4 | ||||
-rw-r--r-- | drivers/media/video/tvp5150.c | 3 |
4 files changed, 0 insertions, 19 deletions
diff --git a/drivers/media/video/cx18/cx18-av-core.c b/drivers/media/video/cx18/cx18-av-core.c index c02892302094..0e5006b14279 100644 --- a/drivers/media/video/cx18/cx18-av-core.c +++ b/drivers/media/video/cx18/cx18-av-core.c | |||
@@ -1098,12 +1098,6 @@ static int cx18_av_s_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt) | |||
1098 | cx18_av_write(cx, 0x41e, 0x8 | filter); | 1098 | cx18_av_write(cx, 0x41e, 0x8 | filter); |
1099 | break; | 1099 | break; |
1100 | 1100 | ||
1101 | case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE: | ||
1102 | return cx18_av_s_sliced_fmt(sd, &fmt->fmt.sliced); | ||
1103 | |||
1104 | case V4L2_BUF_TYPE_VBI_CAPTURE: | ||
1105 | return cx18_av_s_raw_fmt(sd, &fmt->fmt.vbi); | ||
1106 | |||
1107 | default: | 1101 | default: |
1108 | return -EINVAL; | 1102 | return -EINVAL; |
1109 | } | 1103 | } |
diff --git a/drivers/media/video/cx25840/cx25840-core.c b/drivers/media/video/cx25840/cx25840-core.c index a20df8c184ed..8b6fb3544376 100644 --- a/drivers/media/video/cx25840/cx25840-core.c +++ b/drivers/media/video/cx25840/cx25840-core.c | |||
@@ -1079,12 +1079,6 @@ static int cx25840_s_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt) | |||
1079 | cx25840_write(client, 0x41e, 0x8 | filter); | 1079 | cx25840_write(client, 0x41e, 0x8 | filter); |
1080 | break; | 1080 | break; |
1081 | 1081 | ||
1082 | case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE: | ||
1083 | return cx25840_s_sliced_fmt(sd, &fmt->fmt.sliced); | ||
1084 | |||
1085 | case V4L2_BUF_TYPE_VBI_CAPTURE: | ||
1086 | return cx25840_s_raw_fmt(sd, &fmt->fmt.vbi); | ||
1087 | |||
1088 | default: | 1082 | default: |
1089 | return -EINVAL; | 1083 | return -EINVAL; |
1090 | } | 1084 | } |
diff --git a/drivers/media/video/saa7115.c b/drivers/media/video/saa7115.c index cf77318ede43..53b6fcde3800 100644 --- a/drivers/media/video/saa7115.c +++ b/drivers/media/video/saa7115.c | |||
@@ -1138,10 +1138,6 @@ static int saa711x_s_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_f | |||
1138 | 1138 | ||
1139 | static int saa711x_s_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt) | 1139 | static int saa711x_s_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt) |
1140 | { | 1140 | { |
1141 | if (fmt->type == V4L2_BUF_TYPE_SLICED_VBI_CAPTURE) | ||
1142 | return saa711x_s_sliced_fmt(sd, &fmt->fmt.sliced); | ||
1143 | if (fmt->type == V4L2_BUF_TYPE_VBI_CAPTURE) | ||
1144 | return saa711x_s_raw_fmt(sd, &fmt->fmt.vbi); | ||
1145 | if (fmt->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) | 1141 | if (fmt->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) |
1146 | return -EINVAL; | 1142 | return -EINVAL; |
1147 | 1143 | ||
diff --git a/drivers/media/video/tvp5150.c b/drivers/media/video/tvp5150.c index 853dd6f39b97..47f0582d50a5 100644 --- a/drivers/media/video/tvp5150.c +++ b/drivers/media/video/tvp5150.c | |||
@@ -937,9 +937,6 @@ static int tvp5150_s_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_f | |||
937 | static int tvp5150_s_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt) | 937 | static int tvp5150_s_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt) |
938 | { | 938 | { |
939 | switch (fmt->type) { | 939 | switch (fmt->type) { |
940 | case V4L2_BUF_TYPE_VBI_CAPTURE: | ||
941 | return tvp5150_s_raw_fmt(sd, &fmt->fmt.vbi); | ||
942 | |||
943 | case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE: | 940 | case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE: |
944 | return tvp5150_s_sliced_fmt(sd, &fmt->fmt.sliced); | 941 | return tvp5150_s_sliced_fmt(sd, &fmt->fmt.sliced); |
945 | 942 | ||