Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f86a1e68 authored by Wei Ding's avatar Wei Ding Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: fix camera eeprom warning message



Fixed the camera eeprom pinctrl is NULL issue.
Increased max regulator of device to 5.

Change-Id: I665354ea534f3c95176a1c396be71b5bdb1f3280
Signed-off-by: default avatarWei Ding <weiding@codeaurora.org>
parent c7f3276e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -404,6 +404,7 @@ static int32_t cam_eeprom_platform_driver_probe(
		goto free_cci_client;
	}
	e_ctrl->soc_info.soc_private = soc_private;
	soc_private->power_info.dev = &pdev->dev;

	/* Initialize mutex */
	mutex_init(&(e_ctrl->eeprom_mutex));
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@
#define CAM_SOC_MAX_BASE            CAM_SOC_MAX_BLOCK

/* maximum number of device regulator */
#define CAM_SOC_MAX_REGULATOR       4
#define CAM_SOC_MAX_REGULATOR       5

/* maximum number of device clock */
#define CAM_SOC_MAX_CLK             32