aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2007-12-03 00:10:04 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:03:09 -0500
commit9de982d3117a3f83e4e7b14016a1df25b4a693d6 (patch)
treebc03202aa16943d07194eb202e4ab0584e79cfe7
parent3d290bdb283c9dc897c5fd160fe3d07ead426c45 (diff)
V4L/DVB (6710): pvrusb2: Recognize ATSC video standard bit values
Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-std.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-std.c b/drivers/media/video/pvrusb2/pvrusb2-std.c
index 63e55bb59fcb..da309288daa4 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-std.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-std.c
@@ -50,6 +50,10 @@ struct std_name {
50 V4L2_STD_NTSC_M_KR| \ 50 V4L2_STD_NTSC_M_KR| \
51 V4L2_STD_NTSC_443) 51 V4L2_STD_NTSC_443)
52 52
53#define CSTD_ATSC \
54 (V4L2_STD_ATSC_8_VSB| \
55 V4L2_STD_ATSC_16_VSB)
56
53#define CSTD_SECAM \ 57#define CSTD_SECAM \
54 (V4L2_STD_SECAM_B| \ 58 (V4L2_STD_SECAM_B| \
55 V4L2_STD_SECAM_D| \ 59 V4L2_STD_SECAM_D| \
@@ -82,6 +86,7 @@ static const struct std_name std_groups[] = {
82 {"PAL",CSTD_PAL}, 86 {"PAL",CSTD_PAL},
83 {"NTSC",CSTD_NTSC}, 87 {"NTSC",CSTD_NTSC},
84 {"SECAM",CSTD_SECAM}, 88 {"SECAM",CSTD_SECAM},
89 {"ATSC",CSTD_ATSC},
85}; 90};
86 91
87/* Mapping of standard bits to modulation system */ 92/* Mapping of standard bits to modulation system */
@@ -104,6 +109,8 @@ static const struct std_name std_items[] = {
104 {"N",TSTD_N}, 109 {"N",TSTD_N},
105 {"Nc",TSTD_Nc}, 110 {"Nc",TSTD_Nc},
106 {"60",TSTD_60}, 111 {"60",TSTD_60},
112 {"8VSB",V4L2_STD_ATSC_8_VSB},
113 {"16VSB",V4L2_STD_ATSC_16_VSB},
107}; 114};
108 115
109 116