From: Sylwester Nawrocki Date: Thu, 22 Nov 2012 09:17:19 +0000 (-0300) Subject: [media] s5p-fimc: Prevent race conditions during subdevs registration X-Git-Tag: v3.7-rc8~2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97d66c47277fc801bc1ee93559a848057181ea55;p=pandora-kernel.git [media] s5p-fimc: Prevent race conditions during subdevs registration Make sure when fimc and fimc-lite capture video node is registered it has valid pipeline_ops assigned to it. Otherwise when a video node is opened right after is was registered there, might be an attempt to use ops that are just being assigned, after function v4l2_device_register_subdev() returns. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed