aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/s5p-fimc/fimc-mdevice.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/s5p-fimc/fimc-mdevice.c')
-rw-r--r--drivers/media/video/s5p-fimc/fimc-mdevice.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/s5p-fimc/fimc-mdevice.c b/drivers/media/video/s5p-fimc/fimc-mdevice.c
index 75296a625a9..f97ac02b867 100644
--- a/drivers/media/video/s5p-fimc/fimc-mdevice.c
+++ b/drivers/media/video/s5p-fimc/fimc-mdevice.c
@@ -371,6 +371,8 @@ static int fimc_md_register_platform_entities(struct fimc_md *fmd)
371 * Check if there is any sensor on the MIPI-CSI2 bus and 371 * Check if there is any sensor on the MIPI-CSI2 bus and
372 * if not skip the s5p-csis module loading. 372 * if not skip the s5p-csis module loading.
373 */ 373 */
374 if (pdata == NULL)
375 return 0;
374 for (i = 0; i < pdata->num_clients; i++) { 376 for (i = 0; i < pdata->num_clients; i++) {
375 if (pdata->isp_info[i].bus_type == FIMC_MIPI_CSI2) { 377 if (pdata->isp_info[i].bus_type == FIMC_MIPI_CSI2) {
376 ret = 1; 378 ret = 1;