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

Commit 95ad42bf authored by shermanwei's avatar shermanwei Committed by frankcheng(168744)
Browse files

2nd camera failed to suspend

Change-Id: I7cf24a4ea610e5c48d56b862f5f1c55530a7cf4c
(cherry picked from commit a47d3168d8a06cba74aaf6393ebded7188ed0123)
parent 2032ce51
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1594,7 +1594,7 @@ static int msm_actuator_close(struct v4l2_subdev *sd,
//  				nActuatorAK7374);

				
        if(nActuatorAK7374 == 0){
///        if(nActuatorAK7374 == 0)
                if (a_ctrl->act_device_type == MSM_CAMERA_PLATFORM_DEVICE &&
                        a_ctrl->actuator_state != ACT_DISABLE_STATE) {
                        rc = a_ctrl->i2c_client.i2c_func_tbl->i2c_util(
@@ -1602,7 +1602,7 @@ static int msm_actuator_close(struct v4l2_subdev *sd,
                        if (rc < 0)
                                pr_err("cci_init failed\n");
                }
        }
        
//[Camera] Modify for IMX363 module AF Frank Cheng 20191225 S
	kfree(a_ctrl->i2c_reg_tbl);
	a_ctrl->i2c_reg_tbl = NULL;