]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l2-subdev: add registered_async subdev core operation
authorJavier Martinez Canillas <javier@osg.samsung.com>
Fri, 5 Feb 2016 19:09:51 +0000 (17:09 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 10 Feb 2016 11:37:13 +0000 (09:37 -0200)
commita949287eda1f3b6cbcec63aa26e203a4f5d72644
treef8d49c45cb76836f25e9f37d6869f7e7ae2eed6f
parent452d89c03bbae0d261ff4168487c189d3aff90f6
[media] v4l2-subdev: add registered_async subdev core operation

V4L2 sub-devices that are registered asynchronously have no way to know
when they have been registration with a V4L2 device but they might need
to take some action after this.

So let's add a callback that can be executed by the V4L2 async core to
allow sub-devices drivers to do any needed initialization that depends
on the registration.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
include/media/v4l2-subdev.h