[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

parent
10897dacea
commit
85f9e06c59
@@ -509,7 +509,7 @@ static int skeleton_s_dv_timings(struct file *file, void *_fh,
|
||||
return -EINVAL;
|
||||
|
||||
/* Return 0 if the new timings are the same as the current timings. */
|
||||
if (v4l2_match_dv_timings(timings, &skel->timings, 0))
|
||||
if (v4l2_match_dv_timings(timings, &skel->timings, 0, false))
|
||||
return 0;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user