projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18102e3
)
upstream: [media] adv7604: return immediately if the new timings are equal to what...
author
Mats Randgaard
<matrandg@cisco.com>
Thu, 12 Dec 2013 13:13:35 +0000
(10:13 -0300)
committer
Chanho Park
<chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:52:49 +0000
(11:52 +0900)
Signed-off-by: Mats Randgaard <matrandg@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/adv7604.c
patch
|
blob
|
history
diff --git
a/drivers/media/i2c/adv7604.c
b/drivers/media/i2c/adv7604.c
index
ce3b51b
..
3ae8ec5
100644
(file)
--- a/
drivers/media/i2c/adv7604.c
+++ b/
drivers/media/i2c/adv7604.c
@@
-1378,6
+1378,11
@@
static int adv7604_s_dv_timings(struct v4l2_subdev *sd,
if (!timings)
return -EINVAL;
+ if (v4l2_match_dv_timings(&state->timings, timings, 0)) {
+ v4l2_dbg(1, debug, sd, "%s: no change\n", __func__);
+ return 0;
+ }
+
bt = &timings->bt;
if ((!DIGITAL_INPUT && bt->pixelclock > 170000000) ||