msm: camera: Removed CCI_RELEASE call.
CCI_RELEASE not needed when CCI_INIT is failed.
Cleanup is done internally in the msm_cci_init.
Change-Id: I44b82eeb40fc4e14c1720c17fefa309d17a469da
Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
diff --git a/drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_dt_util.c b/drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_dt_util.c
index cc301ae..c321a68 100644
--- a/drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_dt_util.c
+++ b/drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_dt_util.c
@@ -1068,11 +1068,6 @@
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];