From: Pádraig Brady Date: Mon, 9 Oct 2006 11:02:17 +0000 (-0300) Subject: V4L/DVB (4739): SECAM support for saa7113 into saa7115 X-Git-Tag: v2.6.20-rc1~180^2~8 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fc2fa31f4eaa53995593ced14c73f2cf63dcfa17;p=linux-2.6-omap-h63xx.git V4L/DVB (4739): SECAM support for saa7113 into saa7115 Without the attached trivial patch, the saa7113 is set up for PAL when SECAM is selected and hence will see only show black and white for SECAM signals. Tested the patch against the saa7115 module in linux-2.6.17 with a Pinnacle 50e USB tuner (em28xx). Signed-off-by: Pádraig Brady Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/saa7115.c b/drivers/media/video/saa7115.c index 974179d4d38..c5719f7bd1a 100644 --- a/drivers/media/video/saa7115.c +++ b/drivers/media/video/saa7115.c @@ -960,6 +960,8 @@ 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) { + reg |= 0x50; } saa711x_write(client, R_0E_CHROMA_CNTL_1, reg); } else {