diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-08-19 08:38:29 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-08-24 04:27:29 -0300 |
commit | 074ca43f2f99c926a250847ae59a337ebdec6d61 (patch) | |
tree | c5434474b2126a55653b4e0963b359ce608ba6d8 /drivers/media/v4l2-core/v4l2-dv-timings.c | |
parent | fe9c2564d80d633d08a2d69fe38598c06a0ddfb2 (diff) | |
download | blackbird-obmc-linux-074ca43f2f99c926a250847ae59a337ebdec6d61.tar.gz blackbird-obmc-linux-074ca43f2f99c926a250847ae59a337ebdec6d61.zip |
[media] v4l2-dv-timings: fill in type field
The detect_cvt/gtf functions didn't fill in the type field.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-dv-timings.c')
-rw-r--r-- | drivers/media/v4l2-core/v4l2-dv-timings.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/v4l2-core/v4l2-dv-timings.c b/drivers/media/v4l2-core/v4l2-dv-timings.c index 1a9d393307a1..c2f5af7acbed 100644 --- a/drivers/media/v4l2-core/v4l2-dv-timings.c +++ b/drivers/media/v4l2-core/v4l2-dv-timings.c @@ -408,6 +408,7 @@ bool v4l2_detect_cvt(unsigned frame_height, unsigned hfreq, unsigned vsync, h_fp = h_blank - hsync - h_bp; } + fmt->type = V4L2_DV_BT_656_1120; fmt->bt.polarities = polarities; fmt->bt.width = image_width; fmt->bt.height = image_height; @@ -527,6 +528,7 @@ bool v4l2_detect_gtf(unsigned frame_height, h_fp = h_blank / 2 - hsync; + fmt->type = V4L2_DV_BT_656_1120; fmt->bt.polarities = polarities; fmt->bt.width = image_width; fmt->bt.height = image_height; |