mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] v4l: (943) added secam l video standard
- 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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
c817e76342
commit
800d3c6f90
2 changed files with 9 additions and 3 deletions
|
|
@ -251,7 +251,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 */
|
||||
|
|
@ -307,8 +307,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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue