Pārlūkot izejas kodu

msm: camera: common: removing spectra custom config

Removing CONFIG_SPECTRA_CUSTOM config. Which is not
required for mainline build.

CRs-Fixed: 3535645
Change-Id: I6952370f223ac628eef8e35fe3992e81e48e9fdd
Signed-off-by: Soumen Ghosh <[email protected]>
Soumen Ghosh 1 gadu atpakaļ
vecāks
revīzija
9e0b27fa09

+ 0 - 8
Kconfig

@@ -22,14 +22,6 @@ config SPECTRA_JPEG
 	  This module interact with jpeg HW for
 	  snapshot processing.
 
-config SPECTRA_CUSTOM
-	bool "enable camera custom modele"
-	help
-	  This is enabling camera custom module.
-	  camera cusotm hw feature.
-	  Basicaly oem can use this flag to modify or
-	  customized kernel driver.
-
 config SPECTRA_SENSOR
 	bool "enable camera sensor modele"
 	help

+ 2 - 2
drivers/cam_cust/cam_custom_hw_mgr/cam_custom_hw_mgr.c

@@ -150,13 +150,13 @@ enum cam_isp_resource_type
 	}
 }
 
-static void cam_custom_mgr_count_functional_hws(uint32_t num_custom_functional)
+static void cam_custom_mgr_count_functional_hws(uint32_t *num_custom_functional)
 {
 	int i;
 
 	for (i = 0; i < CAM_CUSTOM_CSID_HW_MAX; i++) {
 		if (g_custom_hw_mgr.custom_hw[i])
-			num_custom_functional++;
+			(*num_custom_functional)++;
 	}
 }
 

+ 0 - 1
pineapple_consolidate_defconfig

@@ -1,7 +1,6 @@
 CONFIG_SPECTRA_ISP=y
 CONFIG_SPECTRA_ICP=y
 CONFIG_SPECTRA_JPEG=y
-CONFIG_SPECTRA_CUSTOM=y
 CONFIG_SPECTRA_SENSOR=y
 CONFIG_SPECTRA_USE_CLK_CRM_API=y
 CONFIG_SPECTRA_USE_RPMH_DRV_API=y

+ 0 - 1
pineapple_gki_defconfig

@@ -1,7 +1,6 @@
 CONFIG_SPECTRA_ISP=y
 CONFIG_SPECTRA_ICP=y
 CONFIG_SPECTRA_JPEG=y
-CONFIG_SPECTRA_CUSTOM=y
 CONFIG_SPECTRA_SENSOR=y
 CONFIG_SPECTRA_USE_CLK_CRM_API=y
 CONFIG_SPECTRA_USE_RPMH_DRV_API=y