[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)
commit39d1ebc6092f8266fb788733ca92b8492b1d69f2
tree4cb4531fc744893e515cf693659ab0f353f1bacc
parent28b6ba1106b5864e6bdd1b75840ccf5b1ca3d1b7
[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