diff options
author | Martin Bugge <marbugge@cisco.com> | 2013-12-05 08:34:46 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-07 03:09:15 -0500 |
commit | 1e0b9156d52ac748c92d5aa7ae9dc602168b0b62 (patch) | |
tree | 5d4df3f606916c0ac40ebf3baf9b329bc887bd43 | |
parent | 5474b983c679e3df5ee3c2731c0b685915d5250d (diff) |
[media] adv7604: set restart_stdi_once flag when signal is lost
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>
-rw-r--r-- | drivers/media/i2c/adv7604.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index b5dcea8dc43f..85caf2451614 100644 --- 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, | |||
1216 | memset(timings, 0, sizeof(struct v4l2_dv_timings)); | 1216 | memset(timings, 0, sizeof(struct v4l2_dv_timings)); |
1217 | 1217 | ||
1218 | if (no_signal(sd)) { | 1218 | if (no_signal(sd)) { |
1219 | state->restart_stdi_once = true; | ||
1219 | v4l2_dbg(1, debug, sd, "%s: no valid signal\n", __func__); | 1220 | v4l2_dbg(1, debug, sd, "%s: no valid signal\n", __func__); |
1220 | return -ENOLINK; | 1221 | return -ENOLINK; |
1221 | } | 1222 | } |