diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2011-10-07 12:40:00 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-25 00:02:39 +0100 |
commit | 5cbf6f16ecc07e9f73107c1adf95013bce9f2cf6 (patch) | |
tree | b15023fd8ef27844c5414bd0abdd4fb0c52822ef /drivers/media/video/cs53l32a.c | |
parent | [media] s5p-fimc: Fix buffer dequeue order issue (diff) | |
download | linux-5cbf6f16ecc07e9f73107c1adf95013bce9f2cf6.tar.xz linux-5cbf6f16ecc07e9f73107c1adf95013bce9f2cf6.zip |
[media] s5p-fimc: Allow probe() to succeed with null platform data
The "s5p-fimc-md" platform device platform_data is used to pass
attached camera sensor data. Not allowing device probe() to succeed
when it's null prevents using FIMC as a mem-to-mem device only.
Fix this by removing the platform_data check against null and
registering sensors only if platform_data is specified.
Also add logging of the information which /dev/video is assigned
to which device during probe().
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>
Diffstat (limited to 'drivers/media/video/cs53l32a.c')
0 files changed, 0 insertions, 0 deletions