media: Add link_validate() op to check links to the sink pad
authorSakari Ailus <sakari.ailus@iki.fi>
Tue, 6 Mar 2012 16:32:56 +0000 (18:32 +0200)
committerSergio Aguirre <sergio.a.aguirre@gmail.com>
Fri, 8 Jun 2012 23:02:41 +0000 (18:02 -0500)
commit57c6b464b01804665b0f2646c4c03376d297f5ae
tree61055417b623de88cff16ec47ca12c7575991ae0
parentf3a3255787e08a201eaed9ac82807a9b7ba26c33
media: Add link_validate() op to check links to the sink pad

The purpose of the link_validate() op is to allow an entity driver to ensure
that the properties of the pads at the both ends of the link are suitable
for starting the pipeline. link_validate is called on sink pads on active
links which belong to the active part of the graph.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Documentation/media-framework.txt
drivers/media/media-entity.c
include/media/media-entity.h