summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authordarron@kewl.org <darron@kewl.org>2008-10-30 07:53:07 +0000
committerdarron@kewl.org <darron@kewl.org>2008-10-30 07:53:07 +0000
commit5a55bcc93f549b3db2df8029f040487352ab9759 (patch)
tree75d9b2073f54ce2055662a52b012a4b0d07063d2 /linux/drivers/media/video
parente6404f328c9bf8ea423b3e78078dcba7fec4fcb8 (diff)
downloadmediapointer-dvb-s2-5a55bcc93f549b3db2df8029f040487352ab9759.tar.gz
mediapointer-dvb-s2-5a55bcc93f549b3db2df8029f040487352ab9759.tar.bz2
tda9887/cx88: secam-bgh
From: Frederic CAND <frederic.cand@anevia.com> Adds secam bgh support Signed-off-by: Frederic CAND <frederic.cand@anevia.com>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/cx88/cx88-core.c3
-rw-r--r--linux/drivers/media/video/cx88/cx88.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-core.c b/linux/drivers/media/video/cx88/cx88-core.c
index b2f6dc5c3..c9de13b56 100644
--- a/linux/drivers/media/video/cx88/cx88-core.c
+++ b/linux/drivers/media/video/cx88/cx88-core.c
@@ -869,6 +869,9 @@ static int set_tvaudio(struct cx88_core *core)
} else if (V4L2_STD_SECAM_L & norm) {
core->tvaudio = WW_L;
+ } else if ((V4L2_STD_SECAM_B | V4L2_STD_SECAM_G | V4L2_STD_SECAM_H) & norm) {
+ core->tvaudio = WW_BG;
+
} else if (V4L2_STD_SECAM_DK & norm) {
core->tvaudio = WW_DK;
diff --git a/linux/drivers/media/video/cx88/cx88.h b/linux/drivers/media/video/cx88/cx88.h
index 164e3453d..922cfba3b 100644
--- a/linux/drivers/media/video/cx88/cx88.h
+++ b/linux/drivers/media/video/cx88/cx88.h
@@ -59,7 +59,8 @@
V4L2_STD_NTSC_M| V4L2_STD_NTSC_M_JP| V4L2_STD_NTSC_443 | \
V4L2_STD_PAL_BG| V4L2_STD_PAL_DK | V4L2_STD_PAL_I | \
V4L2_STD_PAL_M | V4L2_STD_PAL_N | V4L2_STD_PAL_Nc | \
- V4L2_STD_PAL_60| V4L2_STD_SECAM_L | V4L2_STD_SECAM_DK )
+ V4L2_STD_PAL_60| V4L2_STD_SECAM_L | V4L2_STD_SECAM_DK | \
+ V4L2_STD_SECAM_B| V4L2_STD_SECAM_G | V4L2_STD_SECAM_H )
#define FORMAT_FLAGS_PACKED 0x01
#define FORMAT_FLAGS_PLANAR 0x02