[media] media_device: add a topology version field
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 23 Aug 2015 12:40:26 +0000 (09:40 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:54 +0000 (12:18 -0200)
commit2521fdac28d0ceea659be1620fef96b1cbff09b6
treee507ecce63e200abfbb9853c74f9ea182b73d7d2
parent9155d859b6bec29cdbbd80a509be35de55115f00
[media] media_device: add a topology version field

Every time a graph object is added or removed, the version
of the topology changes. That's a requirement for the new
MEDIA_IOC_G_TOPOLOGY, in order to allow userspace to know
that the topology has changed after a previous call to it.

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