forked from Minki/linux
media: v4l2: remove VBI output pad
The signal there is the same as the video output (well, except for sliced VBI, but let's simplify the model and ignore it, at least for now - as it is routed together with raw VBI). Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
afeaade90d
commit
092a37875a
@ -720,7 +720,6 @@ static int au8522_probe(struct i2c_client *client,
|
||||
|
||||
state->pads[DEMOD_PAD_IF_INPUT].flags = MEDIA_PAD_FL_SINK;
|
||||
state->pads[DEMOD_PAD_VID_OUT].flags = MEDIA_PAD_FL_SOURCE;
|
||||
state->pads[DEMOD_PAD_VBI_OUT].flags = MEDIA_PAD_FL_SOURCE;
|
||||
state->pads[DEMOD_PAD_AUDIO_OUT].flags = MEDIA_PAD_FL_SOURCE;
|
||||
sd->entity.function = MEDIA_ENT_F_ATV_DECODER;
|
||||
|
||||
|
@ -1836,7 +1836,6 @@ static int saa711x_probe(struct i2c_client *client,
|
||||
#if defined(CONFIG_MEDIA_CONTROLLER)
|
||||
state->pads[DEMOD_PAD_IF_INPUT].flags = MEDIA_PAD_FL_SINK;
|
||||
state->pads[DEMOD_PAD_VID_OUT].flags = MEDIA_PAD_FL_SOURCE;
|
||||
state->pads[DEMOD_PAD_VBI_OUT].flags = MEDIA_PAD_FL_SOURCE;
|
||||
|
||||
sd->entity.function = MEDIA_ENT_F_ATV_DECODER;
|
||||
|
||||
|
@ -1501,7 +1501,6 @@ static int tvp5150_probe(struct i2c_client *c,
|
||||
#if defined(CONFIG_MEDIA_CONTROLLER)
|
||||
core->pads[DEMOD_PAD_IF_INPUT].flags = MEDIA_PAD_FL_SINK;
|
||||
core->pads[DEMOD_PAD_VID_OUT].flags = MEDIA_PAD_FL_SOURCE;
|
||||
core->pads[DEMOD_PAD_VBI_OUT].flags = MEDIA_PAD_FL_SOURCE;
|
||||
|
||||
sd->entity.function = MEDIA_ENT_F_ATV_DECODER;
|
||||
|
||||
|
@ -847,7 +847,6 @@ static void saa7134_create_entities(struct saa7134_dev *dev)
|
||||
dev->demod.name = "saa713x";
|
||||
dev->demod_pad[DEMOD_PAD_IF_INPUT].flags = MEDIA_PAD_FL_SINK;
|
||||
dev->demod_pad[DEMOD_PAD_VID_OUT].flags = MEDIA_PAD_FL_SOURCE;
|
||||
dev->demod_pad[DEMOD_PAD_VBI_OUT].flags = MEDIA_PAD_FL_SOURCE;
|
||||
dev->demod.function = MEDIA_ENT_F_ATV_DECODER;
|
||||
|
||||
ret = media_entity_pads_init(&dev->demod, DEMOD_NUM_PADS,
|
||||
|
@ -147,7 +147,7 @@ int v4l2_mc_create_media_graph(struct media_device *mdev)
|
||||
}
|
||||
|
||||
if (io_vbi) {
|
||||
ret = media_create_pad_link(decoder, DEMOD_PAD_VBI_OUT,
|
||||
ret = media_create_pad_link(decoder, DEMOD_PAD_VID_OUT,
|
||||
io_vbi, 0,
|
||||
MEDIA_LNK_FL_ENABLED);
|
||||
if (ret)
|
||||
|
@ -89,14 +89,12 @@ enum if_aud_dec_pad_index {
|
||||
*
|
||||
* @DEMOD_PAD_IF_INPUT: IF input sink pad.
|
||||
* @DEMOD_PAD_VID_OUT: Video output source pad.
|
||||
* @DEMOD_PAD_VBI_OUT: Vertical Blank Interface (VBI) output source pad.
|
||||
* @DEMOD_PAD_AUDIO_OUT: Audio output source pad.
|
||||
* @DEMOD_NUM_PADS: Maximum number of output pads.
|
||||
*/
|
||||
enum demod_pad_index {
|
||||
DEMOD_PAD_IF_INPUT,
|
||||
DEMOD_PAD_VID_OUT,
|
||||
DEMOD_PAD_VBI_OUT,
|
||||
DEMOD_PAD_AUDIO_OUT,
|
||||
DEMOD_NUM_PADS
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user