From: Sylwester Nawrocki Date: Thu, 20 Oct 2011 08:15:59 +0000 (-0300) Subject: [media] s5p-fimc: Fail driver probing when sensor configuration is wrong X-Git-Tag: v3.2-rc7~30^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d12392ec006d94e5cf6c98f7ed56ff0c881ec33f;p=pandora-kernel.git [media] s5p-fimc: Fail driver probing when sensor configuration is wrong When a sensor with MIPI-CSI interface is attached through platform data definition and the MIPI-CSI receiver is not selected in kernel configuration s5p-fimc driver probe() will now succeed, issuing only a warning. It was done this way to allow the driver to work even if system configuration is not exactly right. Instead make the driver's probe() fail if a MIPI-CSI sensor was requested but s5p-csis module is not present. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed