[media] media: v4l-core add enable/disable source common interfaces
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 11 Feb 2016 23:41:25 +0000 (21:41 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 27 Feb 2016 11:33:29 +0000 (08:33 -0300)
commitd0a164f593ec770e5fc0dd9b003ac057559482c7
tree23bd2e78da923959011315f88ff4f813170d1608
parentfb49f20438f361a60f9af555e5a69d91bb5e358f
[media] media: v4l-core add enable/disable source common interfaces

Add a new interfaces to be used by v4l-core to invoke enable
source and disable_source handlers in the media_device. The
enable_source helper function invokes the enable_source handler
to find media source entity connected to the entity and check
is it is available or busy. If source is available, link is
activated and pipeline is started. The disable_source helper
function invokes the disable_source handler to deactivate and
stop the pipeline.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-mc.c
include/media/v4l2-dev.h
include/media/v4l2-mc.h
This page took 0.041978 seconds and 5 git commands to generate.