diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/media/msp3400.h | 4 | ||||
-rw-r--r-- | include/media/v4l2-subdev.h | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/include/media/msp3400.h b/include/media/msp3400.h index 6ab854931c05..90cf22ada8b4 100644 --- a/include/media/msp3400.h +++ b/include/media/msp3400.h | |||
@@ -54,13 +54,13 @@ | |||
54 | ======= | 54 | ======= |
55 | 55 | ||
56 | So to specify a complete routing scheme for the msp3400 you will have to | 56 | So to specify a complete routing scheme for the msp3400 you will have to |
57 | specify in the 'input' field of the v4l2_routing struct: | 57 | specify in the 'input' arg of the s_routing function: |
58 | 58 | ||
59 | 1) which tuner input to use | 59 | 1) which tuner input to use |
60 | 2) which SCART input to use | 60 | 2) which SCART input to use |
61 | 3) which DSP input to use for each DSP output | 61 | 3) which DSP input to use for each DSP output |
62 | 62 | ||
63 | And in the 'output' field of the v4l2_routing struct you specify: | 63 | And in the 'output' arg of the s_routing function you specify: |
64 | 64 | ||
65 | 1) which SCART input to use for each SCART output | 65 | 1) which SCART input to use for each SCART output |
66 | 66 | ||
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index df4a76800bd6..17856081c809 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h | |||
@@ -148,7 +148,8 @@ struct v4l2_subdev_tuner_ops { | |||
148 | board designs. Usual values for the frequency are 1024000 and 2048000. | 148 | board designs. Usual values for the frequency are 1024000 and 2048000. |
149 | If the frequency is not supported, then -EINVAL is returned. | 149 | If the frequency is not supported, then -EINVAL is returned. |
150 | 150 | ||
151 | s_routing: used to define the input and/or output pins of an audio chip. | 151 | s_routing: used to define the input and/or output pins of an audio chip, |
152 | and any additional configuration data. | ||
152 | Never attempt to use user-level input IDs (e.g. Composite, S-Video, | 153 | Never attempt to use user-level input IDs (e.g. Composite, S-Video, |
153 | Tuner) at this level. An i2c device shouldn't know about whether an | 154 | Tuner) at this level. An i2c device shouldn't know about whether an |
154 | input pin is connected to a Composite connector, become on another | 155 | input pin is connected to a Composite connector, become on another |
@@ -159,7 +160,7 @@ struct v4l2_subdev_tuner_ops { | |||
159 | struct v4l2_subdev_audio_ops { | 160 | struct v4l2_subdev_audio_ops { |
160 | int (*s_clock_freq)(struct v4l2_subdev *sd, u32 freq); | 161 | int (*s_clock_freq)(struct v4l2_subdev *sd, u32 freq); |
161 | int (*s_i2s_clock_freq)(struct v4l2_subdev *sd, u32 freq); | 162 | int (*s_i2s_clock_freq)(struct v4l2_subdev *sd, u32 freq); |
162 | int (*s_routing)(struct v4l2_subdev *sd, const struct v4l2_routing *route); | 163 | int (*s_routing)(struct v4l2_subdev *sd, u32 input, u32 output, u32 config); |
163 | }; | 164 | }; |
164 | 165 | ||
165 | /* | 166 | /* |
@@ -200,7 +201,7 @@ struct v4l2_subdev_audio_ops { | |||
200 | devices. | 201 | devices. |
201 | */ | 202 | */ |
202 | struct v4l2_subdev_video_ops { | 203 | struct v4l2_subdev_video_ops { |
203 | int (*s_routing)(struct v4l2_subdev *sd, const struct v4l2_routing *route); | 204 | int (*s_routing)(struct v4l2_subdev *sd, u32 input, u32 output, u32 config); |
204 | int (*s_crystal_freq)(struct v4l2_subdev *sd, u32 freq, u32 flags); | 205 | int (*s_crystal_freq)(struct v4l2_subdev *sd, u32 freq, u32 flags); |
205 | int (*decode_vbi_line)(struct v4l2_subdev *sd, struct v4l2_decode_vbi_line *vbi_line); | 206 | int (*decode_vbi_line)(struct v4l2_subdev *sd, struct v4l2_decode_vbi_line *vbi_line); |
206 | int (*s_vbi_data)(struct v4l2_subdev *sd, const struct v4l2_sliced_vbi_data *vbi_data); | 207 | int (*s_vbi_data)(struct v4l2_subdev *sd, const struct v4l2_sliced_vbi_data *vbi_data); |