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

Commit c6d00752 authored by Jeyaprakash Soundrapandian's avatar Jeyaprakash Soundrapandian Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: reqmgr: Fix mutex unlock issue" into dev/msm-4.9-camx

parents 6e1bbe85 10a8e492
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1450,8 +1450,7 @@ static int cam_req_mgr_cb_add_req(struct cam_req_mgr_add_request *add_req)

	if (!add_req) {
		CAM_ERR(CAM_CRM, "sof_data is NULL");
		rc = -EINVAL;
		goto end;
		return -EINVAL;
	}

	CAM_DBG(CAM_CRM, "E: dev %x dev req %lld",
@@ -1461,8 +1460,7 @@ static int cam_req_mgr_cb_add_req(struct cam_req_mgr_add_request *add_req)

	if (!link) {
		CAM_DBG(CAM_CRM, "link ptr NULL %x", add_req->link_hdl);
		rc = -EINVAL;
		goto end;
		return -EINVAL;
	}

	mutex_lock(&link->lock);