summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/adv7604.c
diff options
context:
space:
mode:
authorMartin Bugge <marbugge@cisco.com>2013-12-05 14:34:46 +0100
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-07 09:09:15 +0100
commit1e0b9156d52ac748c92d5aa7ae9dc602168b0b62 (patch)
tree5d4df3f606916c0ac40ebf3baf9b329bc887bd43 /drivers/media/i2c/adv7604.c
parent[media] adv7604: improve HDMI audio handling (diff)
downloadlinux-1e0b9156d52ac748c92d5aa7ae9dc602168b0b62.tar.xz
linux-1e0b9156d52ac748c92d5aa7ae9dc602168b0b62.zip
[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>
Diffstat (limited to '')
-rw-r--r--drivers/media/i2c/adv7604.c1
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,
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;
}