summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <b17645@freescale.com>2010-11-03 17:50:35 +0800
committerLily Zhang <r58066@freescale.com>2010-11-16 16:08:50 +0800
commit0777ded5916b2824506c43f4d87dc5864fbbbdc2 (patch)
treef6dae22ac30fc96ac9c46d1effde31d59a416434
parenta54c4d2bfb17a628a2b0ee9a8183d7664359fe34 (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)
-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;