media: Add link_validate() op to check links to the sink pad
authorSakari Ailus <sakari.ailus@iki.fi>
Fri, 2 Mar 2012 16:40:02 +0000 (10:40 -0600)
committerSergio Aguirre <saaguirre@ti.com>
Fri, 2 Mar 2012 16:40:02 +0000 (10:40 -0600)
commit697b39aa7b38f05126397fb6901065a2f33a6c23
tree154e719099c7c1094ff7c387dc74f7680acdc947
parent7f20a6c24bd2afc6c8857359c24a59f2dff76389
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>
Documentation/media-framework.txt
drivers/media/media-entity.c
include/media/media-entity.h