[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>
This commit is contained in:
Родитель
5474b983c6
Коммит
1e0b9156d5
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче