[media] media: au0828 add enable, disable source handlers
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 11 Feb 2016 23:41:35 +0000 (21:41 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 27 Feb 2016 12:29:20 +0000 (09:29 -0300)
commitc94903f1f7cc7649b0c2c46c75d6b8b56fd9acb8
tree8a0efe51f35f5483ba8a9c17b7bb9d1e43f69776
parentf90c5d79e5156e523a6bd560b7da76e842992229
[media] media: au0828 add enable, disable source handlers

Add enable_source and disable_source handlers. The enable source handler
is called from v4l2-core, dvb-core, and ALSA drivers to check if the
shared media source is free.

The disable source handler is called to release the shared media
source.

[mchehab@osg.samsung.com: fix merge conflicts]

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/au0828/au0828-core.c
drivers/media/usb/au0828/au0828-video.c
drivers/media/usb/au0828/au0828.h