diff options
author | Javier Martin <javier.martin@vista-silicon.com> | 2012-03-26 08:17:46 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-15 08:39:32 -0400 |
commit | 002eaf90a24451e423221d7a5826cdfdea1a0451 (patch) | |
tree | 22a2064771a4f8e627a9ae02457326315dcdb84e /drivers/media/video | |
parent | 1eaef48b42aae965950c884e3f03143cb44da71b (diff) |
[media] media: tvp5150: Fix mbus format
According to p.14 fig 3-3 of the datasheet (SLES098A)
this decoder transmits data in UYVY format.
Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/tvp5150.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tvp5150.c b/drivers/media/video/tvp5150.c index 476a6a0bd108..b7867427e5c4 100644 --- a/drivers/media/video/tvp5150.c +++ b/drivers/media/video/tvp5150.c | |||
@@ -822,7 +822,7 @@ static int tvp5150_enum_mbus_fmt(struct v4l2_subdev *sd, unsigned index, | |||
822 | if (index) | 822 | if (index) |
823 | return -EINVAL; | 823 | return -EINVAL; |
824 | 824 | ||
825 | *code = V4L2_MBUS_FMT_YUYV8_2X8; | 825 | *code = V4L2_MBUS_FMT_UYVY8_2X8; |
826 | return 0; | 826 | return 0; |
827 | } | 827 | } |
828 | 828 | ||
@@ -839,7 +839,7 @@ static int tvp5150_mbus_fmt(struct v4l2_subdev *sd, | |||
839 | f->width = decoder->rect.width; | 839 | f->width = decoder->rect.width; |
840 | f->height = decoder->rect.height; | 840 | f->height = decoder->rect.height; |
841 | 841 | ||
842 | f->code = V4L2_MBUS_FMT_YUYV8_2X8; | 842 | f->code = V4L2_MBUS_FMT_UYVY8_2X8; |
843 | f->field = V4L2_FIELD_SEQ_TB; | 843 | f->field = V4L2_FIELD_SEQ_TB; |
844 | f->colorspace = V4L2_COLORSPACE_SMPTE170M; | 844 | f->colorspace = V4L2_COLORSPACE_SMPTE170M; |
845 | 845 | ||