[media] v4l2-dv-timings: add new arg to v4l2_match_dv_timings
Add the new match_reduced_fps argument to v4l2_match_dv_timings(). Depending on the situation you may or may not desire to match the reduced_fps flag. Typically only HDMI transmitters will need to check for this flag. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

부모
10897dacea
커밋
85f9e06c59
@@ -642,7 +642,7 @@ static int vidioc_s_dv_timings(struct file *file, void *_fh,
|
||||
if (dev->status != STATUS_IDLE)
|
||||
return -EBUSY;
|
||||
for (i = 0; i < ARRAY_SIZE(hdpvr_dv_timings); i++)
|
||||
if (v4l2_match_dv_timings(timings, hdpvr_dv_timings + i, 0))
|
||||
if (v4l2_match_dv_timings(timings, hdpvr_dv_timings + i, 0, false))
|
||||
break;
|
||||
if (i == ARRAY_SIZE(hdpvr_dv_timings))
|
||||
return -EINVAL;
|
||||
|
Reference in New Issue
Block a user