提交 6bb0b182 编写于 作者: M Mauro Carvalho Chehab

[media] dvbdev: enable DVB-specific links

For now, let's keep the DVB-specific media controller links enabled
by default. On most devices, this is fixed anyway, so no big issue.

Ok, the demux actually have dynamic links based on the filters, but
we don't represent them yet, as the media controller currently lacks
the capability of dynamically create/delete entities.
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 54e339a9
...@@ -414,13 +414,13 @@ void dvb_create_media_graph(struct media_device *mdev) ...@@ -414,13 +414,13 @@ void dvb_create_media_graph(struct media_device *mdev)
media_entity_create_link(tuner, 0, fe, 0, 0); media_entity_create_link(tuner, 0, fe, 0, 0);
if (fe && demux) if (fe && demux)
media_entity_create_link(fe, 1, demux, 0, 0); media_entity_create_link(fe, 1, demux, 0, MEDIA_LNK_FL_ENABLED);
if (demux && dvr) if (demux && dvr)
media_entity_create_link(demux, 1, dvr, 0, 0); media_entity_create_link(demux, 1, dvr, 0, MEDIA_LNK_FL_ENABLED);
if (demux && ca) if (demux && ca)
media_entity_create_link(demux, 1, ca, 0, 0); media_entity_create_link(demux, 1, ca, 0, MEDIA_LNK_FL_ENABLED);
#endif #endif
} }
EXPORT_SYMBOL_GPL(dvb_create_media_graph); EXPORT_SYMBOL_GPL(dvb_create_media_graph);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册