diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2016-02-12 00:41:22 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-27 12:33:26 +0100 |
commit | cd87ce873ffd7f9b593bcba40bc1a5b9e3053295 (patch) | |
tree | 45173bdcb58a3097b3468570c1f7e653fe278f4e /drivers/media/media-entity.c | |
parent | [media] media: Media Controller register/unregister entity_notify API (diff) | |
download | linux-cd87ce873ffd7f9b593bcba40bc1a5b9e3053295.tar.xz linux-cd87ce873ffd7f9b593bcba40bc1a5b9e3053295.zip |
[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