diff options
author | Mike Isely <isely@pobox.com> | 2011-03-13 19:37:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 03:54:35 -0400 |
commit | 43823c02245a445b5669d43b1ec07b6d8ae710f5 (patch) | |
tree | 7d3c178483caba8a57726ee7cc9783da780e24a0 /drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c | |
parent | 34fd68bc03c8d656f991bd4f1646ec773179521b (diff) |
[media] pvrusb2: Implement support for Terratec Grabster AV400
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c b/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c index 2222da8d0ca6..c514d0b9ffdc 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c +++ b/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c | |||
@@ -99,9 +99,27 @@ static const struct routing_scheme routing_defgv = { | |||
99 | .cnt = ARRAY_SIZE(routing_schemegv), | 99 | .cnt = ARRAY_SIZE(routing_schemegv), |
100 | }; | 100 | }; |
101 | 101 | ||
102 | /* Specific to grabster av400 device */ | ||
103 | static const struct routing_scheme_item routing_schemeav400[] = { | ||
104 | [PVR2_CVAL_INPUT_COMPOSITE] = { | ||
105 | .vid = CX25840_COMPOSITE1, | ||
106 | .aud = CX25840_AUDIO_SERIAL, | ||
107 | }, | ||
108 | [PVR2_CVAL_INPUT_SVIDEO] = { | ||
109 | .vid = (CX25840_SVIDEO_LUMA2|CX25840_SVIDEO_CHROMA4), | ||
110 | .aud = CX25840_AUDIO_SERIAL, | ||
111 | }, | ||
112 | }; | ||
113 | |||
114 | static const struct routing_scheme routing_defav400 = { | ||
115 | .def = routing_schemeav400, | ||
116 | .cnt = ARRAY_SIZE(routing_schemeav400), | ||
117 | }; | ||
118 | |||
102 | static const struct routing_scheme *routing_schemes[] = { | 119 | static const struct routing_scheme *routing_schemes[] = { |
103 | [PVR2_ROUTING_SCHEME_HAUPPAUGE] = &routing_def0, | 120 | [PVR2_ROUTING_SCHEME_HAUPPAUGE] = &routing_def0, |
104 | [PVR2_ROUTING_SCHEME_GOTVIEW] = &routing_defgv, | 121 | [PVR2_ROUTING_SCHEME_GOTVIEW] = &routing_defgv, |
122 | [PVR2_ROUTING_SCHEME_AV400] = &routing_defav400, | ||
105 | }; | 123 | }; |
106 | 124 | ||
107 | void pvr2_cx25840_subdev_update(struct pvr2_hdw *hdw, struct v4l2_subdev *sd) | 125 | void pvr2_cx25840_subdev_update(struct pvr2_hdw *hdw, struct v4l2_subdev *sd) |