__media_entity_setup_link(9) Configure a media link without locking

SYNOPSIS

int __media_entity_setup_link(struct media_link * link, u32 flags);

ARGUMENTS

link

The link being configured

flags

Link configuration flags

DESCRIPTION

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.

COPYRIGHT