From b828e58254721e3559952aabf638ec0b385ce688 Mon Sep 17 00:00:00 2001 From: Karthik Anantha Ram Date: Fri, 5 Feb 2021 10:16:24 -0800 Subject: [PATCH] msm: camera: common: Update waipio config Allow SFE HW to probe via ISP config. Removes usage of an exclusive SFE config macro. CRs-Fixed: 2841729 Change-Id: I4494d23653fb6c96a4931c412babed0b8f61631b Signed-off-by: Karthik Anantha Ram --- drivers/camera_main.c | 2 -- drivers/camera_main.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/drivers/camera_main.c b/drivers/camera_main.c index aea0f33e5d..d5c60ef141 100644 --- a/drivers/camera_main.c +++ b/drivers/camera_main.c @@ -93,9 +93,7 @@ static const struct camera_submodule_component camera_isp[] = { {&cam_ife_csid_init_module, &cam_ife_csid_exit_module}, {&cam_ife_csid_lite_init_module, &cam_ife_csid_lite_exit_module}, {&cam_vfe_init_module, &cam_vfe_exit_module}, -#ifdef CONFIG_SPECTRA_SFE {&cam_sfe_init_module, &cam_sfe_exit_module}, -#endif {&cam_isp_dev_init_module, &cam_isp_dev_exit_module}, #endif }; diff --git a/drivers/camera_main.h b/drivers/camera_main.h index 5350f4f7ff..4e66eb8f6b 100644 --- a/drivers/camera_main.h +++ b/drivers/camera_main.h @@ -19,9 +19,7 @@ extern struct platform_driver cam_top_tpg_driver; extern struct platform_driver cam_ife_csid_driver; extern struct platform_driver cam_ife_csid_lite_driver; extern struct platform_driver cam_vfe_driver; -#ifdef CONFIG_SPECTRA_SFE extern struct platform_driver cam_sfe_driver; -#endif extern struct platform_driver isp_driver; #endif #ifdef CONFIG_SPECTRA_TFE @@ -93,9 +91,7 @@ static struct platform_driver *const cam_component_drivers[] = { &cam_ife_csid_driver, &cam_ife_csid_lite_driver, &cam_vfe_driver, -#ifdef CONFIG_SPECTRA_SFE &cam_sfe_driver, -#endif &isp_driver, #endif #ifdef CONFIG_SPECTRA_SENSOR