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

Commit fb5613c7 authored by Vasko Kalanoski's avatar Vasko Kalanoski
Browse files

msm: camera: sensor: bugfix for cci ref count issue



fix which prevent of cci ref count issue, in both actuator and
ois drivers have init of cci one time, and cci close twice

Change-Id: If532be97bacd1c1e5696cd0a60d11807f007ccf2
Signed-off-by: default avatarVasko Kalanoski <vaskok@codeaurora.org>
parent 3c7ef256
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -864,9 +864,7 @@ static int msm_actuator_close(struct v4l2_subdev *sd,
	return rc;
}

static const struct v4l2_subdev_internal_ops msm_actuator_internal_ops = {
	.close = msm_actuator_close,
};
static const struct v4l2_subdev_internal_ops msm_actuator_internal_ops;

static long msm_actuator_subdev_ioctl(struct v4l2_subdev *sd,
			unsigned int cmd, void *arg)
+1 −3
Original line number Diff line number Diff line
@@ -398,9 +398,7 @@ static int msm_ois_close(struct v4l2_subdev *sd,
	return rc;
}

static const struct v4l2_subdev_internal_ops msm_ois_internal_ops = {
	.close = msm_ois_close,
};
static const struct v4l2_subdev_internal_ops msm_ois_internal_ops;

static long msm_ois_subdev_ioctl(struct v4l2_subdev *sd,
			unsigned int cmd, void *arg)