]> git.baikalelectronics.ru Git - kernel.git/commit
[media] exynos4-is: Open shouldn't fail when sensor entity is not linked
authorJacek Anaszewski <j.anaszewski@samsung.com>
Mon, 18 Jan 2016 16:10:26 +0000 (14:10 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 12:29:50 +0000 (10:29 -0200)
commit4ea049a774d9f454006f3f97b1f426a35e6334dd
treeaa13bd02110048bac5370ddae9d43523ea7fbe91
parent998b05977921677c2bad61e0e56664d884c35454
[media] exynos4-is: Open shouldn't fail when sensor entity is not linked

In order to allow for automatic media device entities linking
from the level of libv4l plugin the open system call shouldn't
fail, as the libv4l plugins can begin their job not until it
succeeds.
This patch allows for leaving the  pipeline not linked on
open and postpones verifying it to the moment when streamon
callback is called.

Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/exynos4-is/media-dev.c