]> git.karo-electronics.de Git - linux-beck.git/commit
[media] media: Media Controller enable/disable source handler API
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 11 Feb 2016 23:41:22 +0000 (21:41 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 27 Feb 2016 11:33:26 +0000 (08:33 -0300)
commitcd87ce873ffd7f9b593bcba40bc1a5b9e3053295
tree45173bdcb58a3097b3468570c1f7e653fe278f4e
parentafcbdb55898b469606220fcb1868fc1bdd859675
[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>
include/media/media-device.h