From: Sylwester Nawrocki Date: Tue, 15 Mar 2011 17:50:52 +0000 (-0300) Subject: [media] s5p-fimc: Do not allow changing format after REQBUFS X-Git-Tag: v2.6.39-rc6~40^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4a627333f0d952c5e10c02609493fa63b5c7b28;p=pandora-kernel.git [media] s5p-fimc: Do not allow changing format after REQBUFS Protecting the color format with vb2_is_streaming() is not sufficient as this prevents changing the format only after VIDIOC_STREAMON. To prevent the color format reconfiguration as soon as buffers are allocated use vb2_is_busy() instead. Also make the videobuf queue ops structure static. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed