Skip to content

Commit

Permalink
V4L/DVB (4739): SECAM support for saa7113 into saa7115
Browse files Browse the repository at this point in the history
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 <P@draigBrady.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Pádraig Brady authored and Mauro Carvalho Chehab committed Oct 14, 2006
1 parent 626ae83 commit fc2fa31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/media/video/saa7115.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fc2fa31

Please sign in to comment.