Commit 95075dd0 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

[media] saa7134: use V4L2_IN_ST_NO_SIGNAL instead of NO_SYNC

NO_SYNC was meant for DVB and shouldn't be used anymore.

In this case NO_SIGNAL is a good alternative.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent a2004502
...@@ -1524,7 +1524,7 @@ int saa7134_enum_input(struct file *file, void *priv, struct v4l2_input *i) ...@@ -1524,7 +1524,7 @@ int saa7134_enum_input(struct file *file, void *priv, struct v4l2_input *i)
if (0 != (v1 & 0x40)) if (0 != (v1 & 0x40))
i->status |= V4L2_IN_ST_NO_H_LOCK; i->status |= V4L2_IN_ST_NO_H_LOCK;
if (0 != (v2 & 0x40)) if (0 != (v2 & 0x40))
i->status |= V4L2_IN_ST_NO_SYNC; i->status |= V4L2_IN_ST_NO_SIGNAL;
if (0 != (v2 & 0x0e)) if (0 != (v2 & 0x0e))
i->status |= V4L2_IN_ST_MACROVISION; i->status |= V4L2_IN_ST_MACROVISION;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment