[media] media: au0828 audio mixer isn't connected to decoder
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 3 Mar 2016 03:38:19 +0000 (00:38 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 3 Mar 2016 18:13:11 +0000 (15:13 -0300)
commit9096cae18130b4e8e289df36259a828d0c026fe8
treef25f2e2839fd9f70d6401da72b152a73f8822c23
parentaebb2b89bff0fdeb4e7ddd73dcbccde1a0f27554
[media] media: au0828 audio mixer isn't connected to decoder

When snd_usb_audio gets probed first, audio mixer doesn't get linked to
the decoder.

Change au0828_media_graph_notify() to handle the mixer entity getting
registered before the decoder.

Change au0828_media_device_register() to invoke
au0828_media_graph_notify() to connect entites that were created prior
to registering the notify handler.

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