[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 09:38:13 +0000 (07:38 -0200)
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 5cf9cc6c0e6e24785b0f785d066f2d87ff5b67ff..2334bf9e04031917195b42582393662b132f7b0a 100644 (file)
@@ -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;
        }