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

Commit f7262809 authored by Rajesh Bondugula's avatar Rajesh Bondugula
Browse files

msm: camera: Removed CCI_RELEASE call.



CCI_RELEASE not needed when CCI_INIT is failed.
Cleanup is done internally in msm_cci_init.

Change-Id: I44b82eeb40fc4e14c1720c17fefa309d17a469da
Signed-off-by: default avatarRajesh Bondugula <rajeshb@codeaurora.org>
parent 02983880
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1034,11 +1034,6 @@ int msm_camera_power_up(struct msm_camera_power_ctrl_t *ctrl,
	return 0;
power_up_failed:
	pr_err("%s:%d failed\n", __func__, __LINE__);
	if (device_type == MSM_CAMERA_PLATFORM_DEVICE) {
		sensor_i2c_client->i2c_func_tbl->i2c_util(
			sensor_i2c_client, MSM_CCI_RELEASE);
	}

	for (index--; index >= 0; index--) {
		CDBG("%s index %d\n", __func__, index);
		power_setting = &ctrl->power_setting[index];