[media] v4l2-dv-timings: rename v4l2_dv_valid_timings to v4l2_valid_dv_timings
All other functions follow the v4l2_<foo>_dv_timings pattern, do the same for this function. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:

کامیت شده توسط
Mauro Carvalho Chehab

والد
d1c65ad6a4
کامیت
70b654945b
@@ -648,7 +648,7 @@ static int ad9389b_s_dv_timings(struct v4l2_subdev *sd,
|
||||
v4l2_dbg(1, debug, sd, "%s:\n", __func__);
|
||||
|
||||
/* quick sanity check */
|
||||
if (!v4l2_dv_valid_timings(timings, &ad9389b_timings_cap))
|
||||
if (!v4l2_valid_dv_timings(timings, &ad9389b_timings_cap))
|
||||
return -EINVAL;
|
||||
|
||||
/* Fill the optional fields .standards and .flags in struct v4l2_dv_timings
|
||||
|
@@ -378,7 +378,7 @@ static int ths8200_s_dv_timings(struct v4l2_subdev *sd,
|
||||
|
||||
v4l2_dbg(1, debug, sd, "%s:\n", __func__);
|
||||
|
||||
if (!v4l2_dv_valid_timings(timings, &ths8200_timings_cap))
|
||||
if (!v4l2_valid_dv_timings(timings, &ths8200_timings_cap))
|
||||
return -EINVAL;
|
||||
|
||||
if (!v4l2_find_dv_timings_cap(timings, &ths8200_timings_cap, 10)) {
|
||||
|
مرجع در شماره جدید
Block a user