aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/tw9910.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/tw9910.c b/drivers/media/video/tw9910.c
index 1fdc758041d..3f96cb55dbb 100644
--- a/drivers/media/video/tw9910.c
+++ b/drivers/media/video/tw9910.c
@@ -806,7 +806,7 @@ static int tw9910_g_fmt(struct v4l2_subdev *sd,
806 806
807 mf->width = priv->scale->width; 807 mf->width = priv->scale->width;
808 mf->height = priv->scale->height; 808 mf->height = priv->scale->height;
809 mf->code = V4L2_MBUS_FMT_YVYU8_2X8_BE; 809 mf->code = V4L2_MBUS_FMT_YUYV8_2X8_BE;
810 mf->colorspace = V4L2_COLORSPACE_JPEG; 810 mf->colorspace = V4L2_COLORSPACE_JPEG;
811 mf->field = V4L2_FIELD_INTERLACED_BT; 811 mf->field = V4L2_FIELD_INTERLACED_BT;
812 812
@@ -835,7 +835,7 @@ static int tw9910_s_fmt(struct v4l2_subdev *sd,
835 /* 835 /*
836 * check color format 836 * check color format
837 */ 837 */
838 if (mf->code != V4L2_MBUS_FMT_YVYU8_2X8_BE) 838 if (mf->code != V4L2_MBUS_FMT_YUYV8_2X8_BE)
839 return -EINVAL; 839 return -EINVAL;
840 840
841 mf->colorspace = V4L2_COLORSPACE_JPEG; 841 mf->colorspace = V4L2_COLORSPACE_JPEG;
@@ -862,7 +862,7 @@ static int tw9910_try_fmt(struct v4l2_subdev *sd,
862 return -EINVAL; 862 return -EINVAL;
863 } 863 }
864 864
865 mf->code = V4L2_MBUS_FMT_YVYU8_2X8_BE; 865 mf->code = V4L2_MBUS_FMT_YUYV8_2X8_BE;
866 mf->colorspace = V4L2_COLORSPACE_JPEG; 866 mf->colorspace = V4L2_COLORSPACE_JPEG;
867 867
868 /* 868 /*
@@ -947,7 +947,7 @@ static int tw9910_enum_fmt(struct v4l2_subdev *sd, int index,
947 if (index) 947 if (index)
948 return -EINVAL; 948 return -EINVAL;
949 949
950 *code = V4L2_MBUS_FMT_YVYU8_2X8_BE; 950 *code = V4L2_MBUS_FMT_YUYV8_2X8_BE;
951 return 0; 951 return 0;
952} 952}
953 953