mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 09:31:26 +00:00
[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>
This commit is contained in:
parent
fe9c2564d8
commit
074ca43f2f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user