]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media-device: supress backlinks at G_TOPOLOGY ioctl
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 30 Aug 2015 12:53:57 +0000 (09:53 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:58 +0000 (12:18 -0200)
commit2086e965cfcecb5a3fbd32cfeaf8a45498185817
tree4cb4531fc744893e515cf693659ab0f353f1bacc
parent512493189f13bafab36b04a6f3fb31d40e3bc38f
[media] media-device: supress backlinks at G_TOPOLOGY ioctl

Due to the graph traversal algorithm currently in usage, we
need a copy of all data links. Those backlinks should not be
send to userspace, as otherwise, all links there will be
duplicated.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/media-device.c
drivers/media/media-entity.c
include/media/media-entity.h