diff options
Diffstat (limited to 'drivers/media/video/tw9910.c')
-rw-r--r-- | drivers/media/video/tw9910.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/tw9910.c b/drivers/media/video/tw9910.c index 445dc93413e3..a727962781a3 100644 --- a/drivers/media/video/tw9910.c +++ b/drivers/media/video/tw9910.c | |||
@@ -768,7 +768,7 @@ static int tw9910_g_fmt(struct v4l2_subdev *sd, | |||
768 | 768 | ||
769 | mf->width = priv->scale->width; | 769 | mf->width = priv->scale->width; |
770 | mf->height = priv->scale->height; | 770 | mf->height = priv->scale->height; |
771 | mf->code = V4L2_MBUS_FMT_YUYV8_2X8_BE; | 771 | mf->code = V4L2_MBUS_FMT_UYVY8_2X8; |
772 | mf->colorspace = V4L2_COLORSPACE_JPEG; | 772 | mf->colorspace = V4L2_COLORSPACE_JPEG; |
773 | mf->field = V4L2_FIELD_INTERLACED_BT; | 773 | mf->field = V4L2_FIELD_INTERLACED_BT; |
774 | 774 | ||
@@ -797,7 +797,7 @@ static int tw9910_s_fmt(struct v4l2_subdev *sd, | |||
797 | /* | 797 | /* |
798 | * check color format | 798 | * check color format |
799 | */ | 799 | */ |
800 | if (mf->code != V4L2_MBUS_FMT_YUYV8_2X8_BE) | 800 | if (mf->code != V4L2_MBUS_FMT_UYVY8_2X8) |
801 | return -EINVAL; | 801 | return -EINVAL; |
802 | 802 | ||
803 | mf->colorspace = V4L2_COLORSPACE_JPEG; | 803 | mf->colorspace = V4L2_COLORSPACE_JPEG; |
@@ -824,7 +824,7 @@ static int tw9910_try_fmt(struct v4l2_subdev *sd, | |||
824 | return -EINVAL; | 824 | return -EINVAL; |
825 | } | 825 | } |
826 | 826 | ||
827 | mf->code = V4L2_MBUS_FMT_YUYV8_2X8_BE; | 827 | mf->code = V4L2_MBUS_FMT_UYVY8_2X8; |
828 | mf->colorspace = V4L2_COLORSPACE_JPEG; | 828 | mf->colorspace = V4L2_COLORSPACE_JPEG; |
829 | 829 | ||
830 | /* | 830 | /* |
@@ -909,7 +909,7 @@ static int tw9910_enum_fmt(struct v4l2_subdev *sd, unsigned int index, | |||
909 | if (index) | 909 | if (index) |
910 | return -EINVAL; | 910 | return -EINVAL; |
911 | 911 | ||
912 | *code = V4L2_MBUS_FMT_YUYV8_2X8_BE; | 912 | *code = V4L2_MBUS_FMT_UYVY8_2X8; |
913 | return 0; | 913 | return 0; |
914 | } | 914 | } |
915 | 915 | ||