aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-devattr.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-04-22 13:45:45 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:48 -0400
commitf0910c744324e3e853d7a80da876784319d9a1c8 (patch)
treedafbbc6ac01b7a04eaed50ef74bc2237c85eef2e /drivers/media/video/pvrusb2/pvrusb2-devattr.c
parentebff033039b654b7b5493499babe22c7c1b0d36e (diff)
V4L/DVB (7323): pvrusb2: set default video standard to NTSC for OnAir HDTV / Creator
The pvrusb2 driver normally picks up the default video standard from the eeprom on Hauppauge devices, but the OnAir HDTV and OnAir Creator are not Hauppauge devices, and do not store this information in any eeprom. These devices support NTSC/ATSC, so we should use NTSC by default when in analog mode. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> 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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-devattr.c b/drivers/media/video/pvrusb2/pvrusb2-devattr.c
index 1edb066142b4..17f461a78f13 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-devattr.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-devattr.c
@@ -164,6 +164,7 @@ static const struct pvr2_device_desc pvr2_device_onair_creator = {
164 .flag_has_svideo = !0, 164 .flag_has_svideo = !0,
165 .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, 165 .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
166 .digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR, 166 .digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR,
167 .default_std_mask = V4L2_STD_NTSC_M,
167}; 168};
168#endif 169#endif
169 170
@@ -190,6 +191,7 @@ static const struct pvr2_device_desc pvr2_device_onair_usb2 = {
190 .flag_has_svideo = !0, 191 .flag_has_svideo = !0,
191 .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, 192 .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
192 .digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR, 193 .digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR,
194 .default_std_mask = V4L2_STD_NTSC_M,
193}; 195};
194#endif 196#endif
195 197