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

Commit 0cf55399 authored by Karthik Anantha Ram's avatar Karthik Anantha Ram
Browse files

msm: camera: cci: Fix error check



The change fixes the error check during cci read.

Change-Id: Ia6be7ff5ff828f98d57fb7d39b9a06991aca2241
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent 443a48b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1410,7 +1410,7 @@ static int32_t cam_cci_read_bytes(struct v4l2_subdev *sd,
		else
			rc = cam_cci_read(sd, c_ctrl);

		if (!rc) {
		if (rc) {
			CAM_ERR(CAM_CCI, "failed to read rc:%d", rc);
			goto ERROR;
		}