diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-24 14:46:46 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-01-11 17:18:54 +0300 |
commit | 7c4696a910d404eda3477e76a35c155a6b83ca3e (patch) | |
tree | ae45edea906b8c513642fa5fb324200b981e6d29 /include | |
parent | 8309f47c32c04aae30698389073ec8c6d1b7e986 (diff) | |
download | linux-7c4696a910d404eda3477e76a35c155a6b83ca3e.tar.xz |
[media] media-entity: unregister entity links
Add functions to explicitly unregister all entity links.
This function is called automatically when an entity
link is destroyed.
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/media-entity.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/media-entity.h b/include/media/media-entity.h index f9058601440a..0753f3029d06 100644 --- a/include/media/media-entity.h +++ b/include/media/media-entity.h @@ -326,6 +326,9 @@ struct media_link *media_create_intf_link(struct media_entity *entity, struct media_interface *intf, u32 flags); void media_remove_intf_link(struct media_link *link); +void __media_remove_intf_links(struct media_interface *intf); +void media_remove_intf_links(struct media_interface *intf); + #define media_entity_call(entity, operation, args...) \ (((entity)->ops && (entity)->ops->operation) ? \ |