diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-08-19 09:23:33 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-08-24 03:28:27 -0400 |
commit | 70b654945bacd27622ef1c424f054ae04de597e0 (patch) | |
tree | 4699e1b7a87ae0cb109bcae5f8bfb315160c3913 /drivers/media/i2c | |
parent | d1c65ad6a44b0ff79d2f0bf726fa6fd9248991f4 (diff) |
[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>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r-- | drivers/media/i2c/ad9389b.c | 2 | ||||
-rw-r--r-- | drivers/media/i2c/ths8200.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/i2c/ad9389b.c b/drivers/media/i2c/ad9389b.c index bb74fb6b35c7..fc608516fc43 100644 --- a/drivers/media/i2c/ad9389b.c +++ b/drivers/media/i2c/ad9389b.c | |||
@@ -648,7 +648,7 @@ static int ad9389b_s_dv_timings(struct v4l2_subdev *sd, | |||
648 | v4l2_dbg(1, debug, sd, "%s:\n", __func__); | 648 | v4l2_dbg(1, debug, sd, "%s:\n", __func__); |
649 | 649 | ||
650 | /* quick sanity check */ | 650 | /* quick sanity check */ |
651 | if (!v4l2_dv_valid_timings(timings, &ad9389b_timings_cap)) | 651 | if (!v4l2_valid_dv_timings(timings, &ad9389b_timings_cap)) |
652 | return -EINVAL; | 652 | return -EINVAL; |
653 | 653 | ||
654 | /* Fill the optional fields .standards and .flags in struct v4l2_dv_timings | 654 | /* Fill the optional fields .standards and .flags in struct v4l2_dv_timings |
diff --git a/drivers/media/i2c/ths8200.c b/drivers/media/i2c/ths8200.c index 580bd1b179fb..6abf0fb36079 100644 --- a/drivers/media/i2c/ths8200.c +++ b/drivers/media/i2c/ths8200.c | |||
@@ -378,7 +378,7 @@ static int ths8200_s_dv_timings(struct v4l2_subdev *sd, | |||
378 | 378 | ||
379 | v4l2_dbg(1, debug, sd, "%s:\n", __func__); | 379 | v4l2_dbg(1, debug, sd, "%s:\n", __func__); |
380 | 380 | ||
381 | if (!v4l2_dv_valid_timings(timings, &ths8200_timings_cap)) | 381 | if (!v4l2_valid_dv_timings(timings, &ths8200_timings_cap)) |
382 | return -EINVAL; | 382 | return -EINVAL; |
383 | 383 | ||
384 | if (!v4l2_find_dv_timings_cap(timings, &ths8200_timings_cap, 10)) { | 384 | if (!v4l2_find_dv_timings_cap(timings, &ths8200_timings_cap, 10)) { |