summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7115.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-03-13 13:41:49 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-03-13 13:41:49 -0300
commit3e244cec9e4cc19caff52ac59ff3535a1b5f9212 (patch)
treea26d0ec7b6ed67b54c7a0756cea671ba2045d013 /linux/drivers/media/video/saa7115.c
parent17a569d12a5fe6b3ec8b1ece9615cd14921a602d (diff)
downloadmediapointer-dvb-s2-3e244cec9e4cc19caff52ac59ff3535a1b5f9212.tar.gz
mediapointer-dvb-s2-3e244cec9e4cc19caff52ac59ff3535a1b5f9212.tar.bz2
Fix SECAM handling on saa7115
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/saa7115.c')
-rw-r--r--linux/drivers/media/video/saa7115.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7115.c b/linux/drivers/media/video/saa7115.c
index 064a81334..ac2660e76 100644
--- a/linux/drivers/media/video/saa7115.c
+++ b/linux/drivers/media/video/saa7115.c
@@ -973,7 +973,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);