]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: add functions to allow creating interfaces
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 20 Aug 2015 12:07:34 +0000 (09:07 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:44 +0000 (12:18 -0200)
commit68de5ea6a1ea659b4a3bb192f1018e8b9b84e82f
tree08663a0ad6f7dcedaed61874aeb7f661c108bc3f
parent2cdbc306f0537b4d006d4491a4109100d10da63e
[media] media: add functions to allow creating interfaces

Interfaces are different than entities: they represent a
Kernel<->userspace interaction, while entities represent a
piece of hardware/firmware/software that executes a function.

Let's distinguish them by creating a separate structure to
store the interfaces.

Later patches should change the existing drivers and logic
to split the current interface embedded inside the entity
structure (device nodes) into a separate object of the graph.

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