Преглед изворни кода

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 <[email protected]>
Karthik Anantha Ram пре 4 година
родитељ
комит
b828e58254
2 измењених фајлова са 0 додато и 6 уклоњено
  1. 0 2
      drivers/camera_main.c
  2. 0 4
      drivers/camera_main.h

+ 0 - 2
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_init_module, &cam_ife_csid_exit_module},
 	{&cam_ife_csid_lite_init_module, &cam_ife_csid_lite_exit_module},
 	{&cam_ife_csid_lite_init_module, &cam_ife_csid_lite_exit_module},
 	{&cam_vfe_init_module, &cam_vfe_exit_module},
 	{&cam_vfe_init_module, &cam_vfe_exit_module},
-#ifdef CONFIG_SPECTRA_SFE
 	{&cam_sfe_init_module, &cam_sfe_exit_module},
 	{&cam_sfe_init_module, &cam_sfe_exit_module},
-#endif
 	{&cam_isp_dev_init_module, &cam_isp_dev_exit_module},
 	{&cam_isp_dev_init_module, &cam_isp_dev_exit_module},
 #endif
 #endif
 };
 };

+ 0 - 4
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_driver;
 extern struct platform_driver cam_ife_csid_lite_driver;
 extern struct platform_driver cam_ife_csid_lite_driver;
 extern struct platform_driver cam_vfe_driver;
 extern struct platform_driver cam_vfe_driver;
-#ifdef CONFIG_SPECTRA_SFE
 extern struct platform_driver cam_sfe_driver;
 extern struct platform_driver cam_sfe_driver;
-#endif
 extern struct platform_driver isp_driver;
 extern struct platform_driver isp_driver;
 #endif
 #endif
 #ifdef CONFIG_SPECTRA_TFE
 #ifdef CONFIG_SPECTRA_TFE
@@ -93,9 +91,7 @@ static struct platform_driver *const cam_component_drivers[] = {
 	&cam_ife_csid_driver,
 	&cam_ife_csid_driver,
 	&cam_ife_csid_lite_driver,
 	&cam_ife_csid_lite_driver,
 	&cam_vfe_driver,
 	&cam_vfe_driver,
-#ifdef CONFIG_SPECTRA_SFE
 	&cam_sfe_driver,
 	&cam_sfe_driver,
-#endif
 	&isp_driver,
 	&isp_driver,
 #endif
 #endif
 #ifdef CONFIG_SPECTRA_SENSOR
 #ifdef CONFIG_SPECTRA_SENSOR