]> 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)
commit27f7d82a25e889511f1c3ce207f5f2487eed5b4b
treef8d49c45cb76836f25e9f37d6869f7e7ae2eed6f
parentc1d7ccd9c7e8f8afed17c6a78208af7dab9cdc56
[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