aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/v4l2-core/v4l2-dv-timings.c2
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,
408 h_fp = h_blank - hsync - h_bp; 408 h_fp = h_blank - hsync - h_bp;
409 } 409 }
410 410
411 fmt->type = V4L2_DV_BT_656_1120;
411 fmt->bt.polarities = polarities; 412 fmt->bt.polarities = polarities;
412 fmt->bt.width = image_width; 413 fmt->bt.width = image_width;
413 fmt->bt.height = image_height; 414 fmt->bt.height = image_height;
@@ -527,6 +528,7 @@ bool v4l2_detect_gtf(unsigned frame_height,
527 528
528 h_fp = h_blank / 2 - hsync; 529 h_fp = h_blank / 2 - hsync;
529 530
531 fmt->type = V4L2_DV_BT_656_1120;
530 fmt->bt.polarities = polarities; 532 fmt->bt.polarities = polarities;
531 fmt->bt.width = image_width; 533 fmt->bt.width = image_width;
532 fmt->bt.height = image_height; 534 fmt->bt.height = image_height;