V4L/DVB (5408): Fix SECAM handling on saa7115
authorMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 13 Mar 2007 16:41:49 +0000 (13:41 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 27 Mar 2007 11:45:54 +0000 (08:45 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7115.c

index 7735b6758921f6cda72663474b71be3b767fb517..4d5bbd859de1d6e13cf8f3226291594f0594afa9 100644 (file)
@@ -961,7 +961,7 @@ static void saa711x_set_v4lstd(struct i2c_client *client, v4l2_std_id std)
                        reg |= 0x10;
                } else if (std == V4L2_STD_NTSC_M_JP) {
                        reg |= 0x40;
-               } else if (std == V4L2_STD_SECAM) {
+               } else if (std & V4L2_STD_SECAM) {
                        reg |= 0x50;
                }
                saa711x_write(client, R_0E_CHROMA_CNTL_1, reg);