summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7115.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-03-13 17:41:49 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-03-27 13:45:54 +0200
commita9aaec4e83e687d23b78b38e331bbd6a10b96380 (patch)
tree58d1fa86b029ad66c85f1e04507b87ce1cdf77b0 /drivers/media/video/saa7115.c
parentV4L/DVB (5400): Core: fix several locking related problems (diff)
downloadlinux-a9aaec4e83e687d23b78b38e331bbd6a10b96380.tar.xz
linux-a9aaec4e83e687d23b78b38e331bbd6a10b96380.zip
V4L/DVB (5408): Fix SECAM handling on saa7115
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7115.c')
-rw-r--r--drivers/media/video/saa7115.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/saa7115.c b/drivers/media/video/saa7115.c
index 7735b6758921..4d5bbd859de1 100644
--- a/drivers/media/video/saa7115.c
+++ b/drivers/media/video/saa7115.c
@@ -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);