summaryrefslogtreecommitdiff
path: root/drivers/media/media-entity.c
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2016-02-12 02:41:22 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-27 14:33:26 +0300
commitcd87ce873ffd7f9b593bcba40bc1a5b9e3053295 (patch)
tree45173bdcb58a3097b3468570c1f7e653fe278f4e /drivers/media/media-entity.c
parentafcbdb55898b469606220fcb1868fc1bdd859675 (diff)
downloadlinux-cd87ce873ffd7f9b593bcba40bc1a5b9e3053295.tar.xz
[media] media: Media Controller enable/disable source handler API
Add new fields to struct media_device to add enable_source, and disable_source handlers, and source_priv to stash driver private data that is used to run these handlers. The enable_source handler finds source entity for the passed in entity and checks if it is available. When link is found, it activates it. Disable source handler deactivates the link. Bridge driver is expected to implement and set these handlers. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/media-entity.c')
0 files changed, 0 insertions, 0 deletions