[media] s5p-fimc: Fail driver probing when sensor configuration is wrong
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 20 Oct 2011 08:15:59 +0000 (05:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 23:03:18 +0000 (21:03 -0200)
commitd12392ec006d94e5cf6c98f7ed56ff0c881ec33f
tree9b86e0bb341447155d6f6d27b04786ad022d001a
parent9c63afcb02b4313838d83c3660e45544d9fc9976
[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 <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-fimc/fimc-mdevice.c
This page took 0.025912 seconds and 5 git commands to generate.