From: Hans Verkuil Date: Sat, 14 Dec 2013 11:28:29 +0000 (-0300) Subject: [media] saa7134: use V4L2_IN_ST_NO_SIGNAL instead of NO_SYNC X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=95075dd01e715dbc03936e3045e95068f0126416;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/pci/saa7134/saa7134-video.c b/drivers/media/pci/saa7134/saa7134-video.c index 5cf9cc6c0e6e..2334bf9e0403 100644 --- a/drivers/media/pci/saa7134/saa7134-video.c +++ b/drivers/media/pci/saa7134/saa7134-video.c @@ -1524,7 +1524,7 @@ int saa7134_enum_input(struct file *file, void *priv, struct v4l2_input *i) if (0 != (v1 & 0x40)) i->status |= V4L2_IN_ST_NO_H_LOCK; if (0 != (v2 & 0x40)) - i->status |= V4L2_IN_ST_NO_SYNC; + i->status |= V4L2_IN_ST_NO_SIGNAL; if (0 != (v2 & 0x0e)) i->status |= V4L2_IN_ST_MACROVISION; }