diff options
author | Mike Isely <isely@pobox.com> | 2008-04-22 13:45:40 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:47 -0400 |
commit | e8f5bacfcf2ba9a98674f3cd51b63020920e16aa (patch) | |
tree | f46cd2df55e5087cd53f461f4469232d140e05bd /drivers/media/video/pvrusb2/pvrusb2-devattr.c | |
parent | 84147f3dd9187cd0c9810801be1282419a8ea00a (diff) |
V4L/DVB (7308): pvrusb2: Define digital control scheme device attributes
Unlike analog control, control of the digital side is not nearly as
uniform among different devices. So we have to specify the correct
digital control scheme as a new device attribute.
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-devattr.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-devattr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-devattr.c b/drivers/media/video/pvrusb2/pvrusb2-devattr.c index 4522ad6320c2..1a60591e38b5 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-devattr.c +++ b/drivers/media/video/pvrusb2/pvrusb2-devattr.c | |||
@@ -137,11 +137,11 @@ static const struct pvr2_device_desc pvr2_device_onair_creator = { | |||
137 | .client_modules.lst = pvr2_client_onair_creator, | 137 | .client_modules.lst = pvr2_client_onair_creator, |
138 | .client_modules.cnt = ARRAY_SIZE(pvr2_client_onair_creator), | 138 | .client_modules.cnt = ARRAY_SIZE(pvr2_client_onair_creator), |
139 | .default_tuner_type = TUNER_LG_TDVS_H06XF, | 139 | .default_tuner_type = TUNER_LG_TDVS_H06XF, |
140 | .flag_has_digitaltuner = !0, | ||
141 | .flag_has_analogtuner = !0, | 140 | .flag_has_analogtuner = !0, |
142 | .flag_has_composite = !0, | 141 | .flag_has_composite = !0, |
143 | .flag_has_svideo = !0, | 142 | .flag_has_svideo = !0, |
144 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, | 143 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, |
144 | .digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR, | ||
145 | }; | 145 | }; |
146 | #endif | 146 | #endif |
147 | 147 | ||
@@ -163,11 +163,11 @@ static const struct pvr2_device_desc pvr2_device_onair_usb2 = { | |||
163 | .client_modules.lst = pvr2_client_onair_usb2, | 163 | .client_modules.lst = pvr2_client_onair_usb2, |
164 | .client_modules.cnt = ARRAY_SIZE(pvr2_client_onair_usb2), | 164 | .client_modules.cnt = ARRAY_SIZE(pvr2_client_onair_usb2), |
165 | .default_tuner_type = TUNER_PHILIPS_ATSC, | 165 | .default_tuner_type = TUNER_PHILIPS_ATSC, |
166 | .flag_has_digitaltuner = !0, | ||
167 | .flag_has_analogtuner = !0, | 166 | .flag_has_analogtuner = !0, |
168 | .flag_has_composite = !0, | 167 | .flag_has_composite = !0, |
169 | .flag_has_svideo = !0, | 168 | .flag_has_svideo = !0, |
170 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, | 169 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, |
170 | .digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR, | ||
171 | }; | 171 | }; |
172 | #endif | 172 | #endif |
173 | 173 | ||
@@ -229,11 +229,11 @@ static const struct pvr2_device_desc pvr2_device_75xxx = { | |||
229 | .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_75xxx), | 229 | .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_75xxx), |
230 | .flag_has_cx25840 = !0, | 230 | .flag_has_cx25840 = !0, |
231 | .flag_has_hauppauge_rom = !0, | 231 | .flag_has_hauppauge_rom = !0, |
232 | .flag_has_digitaltuner = !0, | ||
233 | .flag_has_analogtuner = !0, | 232 | .flag_has_analogtuner = !0, |
234 | .flag_has_composite = !0, | 233 | .flag_has_composite = !0, |
235 | .flag_has_svideo = !0, | 234 | .flag_has_svideo = !0, |
236 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, | 235 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, |
236 | .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE, | ||
237 | .default_std_mask = V4L2_STD_NTSC_M, | 237 | .default_std_mask = V4L2_STD_NTSC_M, |
238 | }; | 238 | }; |
239 | 239 | ||