• Shuah Khan's avatar
    [media] media: au0828 change to use Managed Media Controller API · 182dde7c
    Shuah Khan authored
    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: default avatarShuah Khan <shuahkh@osg.samsung.com>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
    182dde7c
au0828-core.c 9.53 KB