summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLiu Ying <b17645@freescale.com>2010-11-03 17:50:35 +0800
committerScott Sweeny <scott.sweeny@timesys.com>2011-01-19 11:50:24 -0500
commita247e2e9df39b370852545dfc606d82ca432cb8d (patch)
treef6dae22ac30fc96ac9c46d1effde31d59a416434 /drivers
parent7ad7bf42463dc477cc9516faedffa39e29887065 (diff)
ENGR00133345-2 V4L2 output:Support bottom field first video
This patch supports bottom field first video. Signed-off-by: Liu Ying <b17645@freescale.com> (cherry picked from commit b1123ead7b6da887c0139b455dbaf00780e7e0bb)
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/mxc/output/mxc_v4l2_output.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/mxc/output/mxc_v4l2_output.c b/drivers/media/video/mxc/output/mxc_v4l2_output.c
index 96c4258bbe64..4ec064690390 100644
--- a/drivers/media/video/mxc/output/mxc_v4l2_output.c
+++ b/drivers/media/video/mxc/output/mxc_v4l2_output.c
@@ -1808,14 +1808,13 @@ static int mxc_v4l2out_s_fmt(vout_data *vout, struct v4l2_format *f)
"V4L2_FIELD_ALTERNATE field format not supported yet!\n");
break;
case V4L2_FIELD_INTERLACED_TB:
+ case V4L2_FIELD_INTERLACED_BT:
if (cpu_is_mx51() || cpu_is_mx53())
break;
dev_err(&vout->video_dev->dev,
"De-interlacing not supported in this device!\n");
vout->field_fmt = V4L2_FIELD_NONE;
- case V4L2_FIELD_INTERLACED_BT:
- dev_err(&vout->video_dev->dev,
- "V4L2_FIELD_INTERLACED_BT field format not supported yet!\n");
+ break;
default:
vout->field_fmt = V4L2_FIELD_NONE;
break;