diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-11-09 00:17:20 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-11-09 00:17:20 +0000 |
commit | 03bff5f31874e70d5a62b6fa8bb69db20edf74a7 (patch) | |
tree | 81a65d427d852ef86cd3eccda194fc83b6b0e8d6 /linux/drivers/media | |
parent | 38a8b6bcc25bfd0d2b33048466a89c9893e4d435 (diff) | |
download | mediapointer-dvb-s2-03bff5f31874e70d5a62b6fa8bb69db20edf74a7.tar.gz mediapointer-dvb-s2-03bff5f31874e70d5a62b6fa8bb69db20edf74a7.tar.bz2 |
Added SECAM L' video standard
- SECAM L' is a Secam variant that requires special config.
This patch adds support on V4L core. Requires aditional patches
on tuners to support.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/tuner-core.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c index bc165cdae..c459a42f2 100644 --- a/linux/drivers/media/video/tuner-core.c +++ b/linux/drivers/media/video/tuner-core.c @@ -1,5 +1,5 @@ /* - * $Id: tuner-core.c,v 1.84 2005/10/31 13:31:09 rmcc Exp $ + * $Id: tuner-core.c,v 1.85 2005/11/09 00:17:20 mchehab Exp $ * * i2c tv tuner chip device driver * core core, i.e. kernel interfaces, registering and so on @@ -265,7 +265,7 @@ static inline int check_mode(struct tuner *t, char *cmd) static char pal[] = "-"; module_param_string(pal, pal, sizeof(pal), 0644); -static char secam[] = "-"; +static char secam[] = "--"; module_param_string(secam, secam, sizeof(secam), 0644); /* get more precise norm info from insmod option */ @@ -321,8 +321,13 @@ static int tuner_fixup_std(struct tuner *t) break; case 'l': case 'L': - tuner_dbg ("insmod fixup: SECAM => SECAM-L\n"); - t->std = V4L2_STD_SECAM_L; + if ((secam[1]=='C')||(secam[1]=='c')) { + tuner_dbg ("insmod fixup: SECAM => SECAM-L'\n"); + t->std = V4L2_STD_SECAM_LC; + } else { + tuner_dbg ("insmod fixup: SECAM => SECAM-L\n"); + t->std = V4L2_STD_SECAM_L; + } break; case '-': /* default parameter, do nothing */ |