summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-29 21:23:44 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-01-11 12:18:55 -0200
commitd47109fa45ee2dc4e0b2710a8225e6c3ac7ea9fd (patch)
treeadbf963e53caa4dc96934a558109790b35a292e7 /include/media
parenta28971ad141bf41b8d6c24f8c4e8736be0c57677 (diff)
downloadlinux-d47109fa45ee2dc4e0b2710a8225e6c3ac7ea9fd.tar.bz2
[media] media-device: remove interfaces and interface links
Just like what's done with entities, when the media controller is unregistered, release any interface and interface links that might still be there. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/media-entity.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/media-entity.h b/include/media/media-entity.h
index 0753f3029d06..f165d303f03c 100644
--- a/include/media/media-entity.h
+++ b/include/media/media-entity.h
@@ -325,6 +325,7 @@ void media_devnode_remove(struct media_intf_devnode *devnode);
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_link(struct media_link *link);
void __media_remove_intf_links(struct media_interface *intf);
void media_remove_intf_links(struct media_interface *intf);