upstream: [media] saa7134: use V4L2_IN_ST_NO_SIGNAL instead of NO_SYNC
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 14 Dec 2013 11:28:29 +0000 (08:28 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:54:22 +0000 (11:54 +0900)
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 <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/pci/saa7134/saa7134-video.c

index e12bbd8..785d4de 100644 (file)
@@ -1768,7 +1768,7 @@ static int saa7134_enum_input(struct file *file, void *priv,
                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;
        }