]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: au0828 change to use Managed Media Controller API
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 11 Feb 2016 23:41:30 +0000 (21:41 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 27 Feb 2016 11:55:15 +0000 (08:55 -0300)
commit88813d66fbb5fab99527c662a7852cbdd0484aa3
tree09ef7277f6651639819cee3521ab7ae37e24dfcf
parentb6c5bc8c99408e5d00ce3c9cb363e578da248942
[media] media: au0828 change to use Managed Media Controller API

Change au0828 to use Managed Media Controller API to share media device
and coordinate creating/deleting the shared media device with the
snd-usb-audio driver. The shared media device is created as device
resource of the parent usb device of the two drivers.

Populate media device model with USB Device product name instead of
au0828 device board name. This change is necessary because, if the media
device is registered by the snd-usb-audio driver first, and it doesn't
know the au0828 board name.

[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