]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
V4L: Fix SECAM handling on saa7115
authorMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 29 Mar 2007 01:22:32 +0000 (21:22 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Apr 2007 10:43:15 +0000 (03:43 -0700)
V4L: Fix SECAM handling on saa7115

(cherry picked from commit a9aaec4e83e687d23b78b38e331bbd6a10b96380)

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/saa7115.c

index c2374ed7ba9fe31c35b37197bfd6b4a234911446..7e494c5db4d29b5aed951019dafa6314d68e2876 100644 (file)
@@ -960,7 +960,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);