]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l2-async: call registered_async after subdev registration
authorJavier Martinez Canillas <javier@osg.samsung.com>
Fri, 5 Feb 2016 19:09:52 +0000 (17:09 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 10 Feb 2016 11:37:36 +0000 (09:37 -0200)
commitc2b9f9b52b5aa2ad01cb19bafb1a44b38de7eab8
treeac7e1f7486274cd9e1aec7a820367bc2f0ea3964
parenta949287eda1f3b6cbcec63aa26e203a4f5d72644
[media] v4l2-async: call registered_async after subdev registration

V4L2 sub-devices might need to do initialization that depends on being
registered with a V4L2 device. As an example, sub-devices with Media
Controller support may need to register entities and create pad links.

Execute the registered_async callback after the sub-device has been
registered with the V4L2 device so the driver can do any needed init.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-async.c