[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)
commit76775776a6e3dbe2dc8a84345dca4540969bc014
treeaa13bd02110048bac5370ddae9d43523ea7fbe91
parent4e63959e3773276cc49b488238bd583c53cf54e8
[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