summaryrefslogtreecommitdiff
path: root/drivers/media/usb/au0828/au0828-video.c
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2016-02-12 02:41:31 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-27 15:06:06 +0300
commit7b12adf6f5f8262967f83acd7c176fd617b8703a (patch)
tree2df5d6a3703f4b23cc22dda1e87eda8dfcf59348 /drivers/media/usb/au0828/au0828-video.c
parent182dde7c5d4cd9fcac007c0798c9906fc5ea6889 (diff)
downloadlinux-7b12adf6f5f8262967f83acd7c176fd617b8703a.tar.xz
[media] media: au0828 handle media_init and media_register window
Media device initialization and registration steps are split. There is a window between media device init and media device register during usb probe. au0828 bridge driver and snd-usb-audio could try to initialize the media device, if they simply checked, whether the device has been registered. They also need to check whether the device has been initialized. Change the au0828-core to check if media device is already initialized during initialization step and check if media device is already registered during the registration step. [mchehab@osg.samsung.com: fix a merge conflict] Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/au0828/au0828-video.c')
0 files changed, 0 insertions, 0 deletions