media: Add link_validate() op to check links to the sink pad
authorSakari Ailus <sakari.ailus@iki.fi>
Sat, 26 May 2012 04:30:07 +0000 (23:30 -0500)
committerSergio Aguirre <sergio.a.aguirre@gmail.com>
Fri, 13 Jul 2012 03:05:15 +0000 (22:05 -0500)
commit95cd3780cf08be06d92c184eaab544bd53a09758
tree74825c02593eaea1f99a922ff047177cc1950689
parent8dd76bdc51cc0dd54f8fec5d6565eb44932326b7
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