- int __media_entity_setup_link(struct media_link * link, u32 flags);
- The link being configured
- Link configuration flags
The bulk of link setup is handled by the two entities connected through the link. This function notifies both entities of the link configuration change.
If the link is immutable or if the current and new configuration are identical, return immediately.
The user is expected to hold link->source->parent->mutex. If not, media_entity_setup_link should be used instead.