diff options
author | Frederic CAND <frederic.cand@anevia.com> | 2008-10-30 03:53:07 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:25 -0500 |
commit | b84ca9f2a08601205878a07a91ef418a1a5f77b1 (patch) | |
tree | a6af6ece0b4d02ca2c33b0e40036d3b213c4c699 /drivers | |
parent | d9b01449e75d1351296595e28d2af72993bcc3dc (diff) |
V4L/DVB (9497): tda9887/cx88: Adds SECAM/BGH standards
Adds secam bgh support
Signed-off-by: Frederic CAND <frederic.cand@anevia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/common/tuners/tda9887.c | 5 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-core.c | 3 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88.h | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/drivers/media/common/tuners/tda9887.c b/drivers/media/common/tuners/tda9887.c index ff1788cc5d48..544cdbe88a6c 100644 --- a/drivers/media/common/tuners/tda9887.c +++ b/drivers/media/common/tuners/tda9887.c | |||
@@ -180,11 +180,10 @@ static struct tvnorm tvnorms[] = { | |||
180 | },{ | 180 | },{ |
181 | .std = V4L2_STD_SECAM_B | V4L2_STD_SECAM_G | V4L2_STD_SECAM_H, | 181 | .std = V4L2_STD_SECAM_B | V4L2_STD_SECAM_G | V4L2_STD_SECAM_H, |
182 | .name = "SECAM-BGH", | 182 | .name = "SECAM-BGH", |
183 | .b = ( cPositiveAmTV | | 183 | .b = ( cNegativeFmTV | |
184 | cQSS ), | 184 | cQSS ), |
185 | .c = ( cTopDefault), | 185 | .c = ( cTopDefault), |
186 | .e = ( cGating_36 | | 186 | .e = ( cAudioIF_5_5 | |
187 | cAudioIF_5_5 | | ||
188 | cVideoIF_38_90 ), | 187 | cVideoIF_38_90 ), |
189 | },{ | 188 | },{ |
190 | .std = V4L2_STD_SECAM_L, | 189 | .std = V4L2_STD_SECAM_L, |
diff --git a/drivers/media/video/cx88/cx88-core.c b/drivers/media/video/cx88/cx88-core.c index 60705b08bfe8..b045874ad04f 100644 --- a/drivers/media/video/cx88/cx88-core.c +++ b/drivers/media/video/cx88/cx88-core.c | |||
@@ -844,6 +844,9 @@ static int set_tvaudio(struct cx88_core *core) | |||
844 | } else if (V4L2_STD_SECAM_L & norm) { | 844 | } else if (V4L2_STD_SECAM_L & norm) { |
845 | core->tvaudio = WW_L; | 845 | core->tvaudio = WW_L; |
846 | 846 | ||
847 | } else if ((V4L2_STD_SECAM_B | V4L2_STD_SECAM_G | V4L2_STD_SECAM_H) & norm) { | ||
848 | core->tvaudio = WW_BG; | ||
849 | |||
847 | } else if (V4L2_STD_SECAM_DK & norm) { | 850 | } else if (V4L2_STD_SECAM_DK & norm) { |
848 | core->tvaudio = WW_DK; | 851 | core->tvaudio = WW_DK; |
849 | 852 | ||
diff --git a/drivers/media/video/cx88/cx88.h b/drivers/media/video/cx88/cx88.h index f4240965be32..f3c26ab6c7c6 100644 --- a/drivers/media/video/cx88/cx88.h +++ b/drivers/media/video/cx88/cx88.h | |||
@@ -58,7 +58,8 @@ | |||
58 | V4L2_STD_NTSC_M| V4L2_STD_NTSC_M_JP| V4L2_STD_NTSC_443 | \ | 58 | V4L2_STD_NTSC_M| V4L2_STD_NTSC_M_JP| V4L2_STD_NTSC_443 | \ |
59 | V4L2_STD_PAL_BG| V4L2_STD_PAL_DK | V4L2_STD_PAL_I | \ | 59 | V4L2_STD_PAL_BG| V4L2_STD_PAL_DK | V4L2_STD_PAL_I | \ |
60 | V4L2_STD_PAL_M | V4L2_STD_PAL_N | V4L2_STD_PAL_Nc | \ | 60 | V4L2_STD_PAL_M | V4L2_STD_PAL_N | V4L2_STD_PAL_Nc | \ |
61 | V4L2_STD_PAL_60| V4L2_STD_SECAM_L | V4L2_STD_SECAM_DK ) | 61 | V4L2_STD_PAL_60| V4L2_STD_SECAM_L | V4L2_STD_SECAM_DK | \ |
62 | V4L2_STD_SECAM_B| V4L2_STD_SECAM_G | V4L2_STD_SECAM_H ) | ||
62 | 63 | ||
63 | #define FORMAT_FLAGS_PACKED 0x01 | 64 | #define FORMAT_FLAGS_PACKED 0x01 |
64 | #define FORMAT_FLAGS_PLANAR 0x02 | 65 | #define FORMAT_FLAGS_PLANAR 0x02 |