]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l2-async: Don't fail if registered_async isn't implemented
authorJavier Martinez Canillas <javier@osg.samsung.com>
Tue, 16 Feb 2016 20:03:21 +0000 (18:03 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 19 Feb 2016 10:10:31 +0000 (08:10 -0200)
commitaee904069de6ea1696bd63283abf4557f329dd4c
tree64d6068939387aeac77cb396a52f6b951e2843f4
parent67815798534a6bc6ff248f8f2eee84443caca202
[media] v4l2-async: Don't fail if registered_async isn't implemented

After sub-dev registration in v4l2_async_test_notify(), the v4l2-async
core calls the registered_async callback but if a sub-dev driver does
not implement it, v4l2_subdev_call() will return a -ENOIOCTLCMD which
should not be considered an error.

Reported-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Tested-by: Benoit Parrot <bparrot@ti.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-async.c