projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5474b98
)
[media] adv7604: set restart_stdi_once flag when signal is lost
author
Martin Bugge
<marbugge@cisco.com>
Thu, 5 Dec 2013 13:34:46 +0000
(10:34 -0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Tue, 7 Jan 2014 08:09:15 +0000
(06:09 -0200)
If the restart_stdi_once trick fails to find a valid
format the flag was never reset.
Signed-off-by: Martin Bugge <marbugge@cisco.com>
Cc: 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
|
blame
|
history
diff --git
a/drivers/media/i2c/adv7604.c
b/drivers/media/i2c/adv7604.c
index b5dcea8dc43f7095dece6ab38cff5a3961776526..85caf2451614cf4d2c9f91254a1ce64573c0d9d7 100644
(file)
--- a/
drivers/media/i2c/adv7604.c
+++ b/
drivers/media/i2c/adv7604.c
@@
-1216,6
+1216,7
@@
static int adv7604_query_dv_timings(struct v4l2_subdev *sd,
memset(timings, 0, sizeof(struct v4l2_dv_timings));
if (no_signal(sd)) {
+ state->restart_stdi_once = true;
v4l2_dbg(1, debug, sd, "%s: no valid signal\n", __func__);
return -ENOLINK;
}