[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)
commit798bd945f0606dfe615142e1157e8ab5c7d29e2b
treef8d49c45cb76836f25e9f37d6869f7e7ae2eed6f
parent0e2a706b04c1d117c77ee47a41fd978afa25d67e
[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