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

Commit 623fbcad authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm:camera: unlock mutex before return"

parents 6a8def73 08865923
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -689,8 +689,10 @@ static int msm_isp_start_stats_stream(struct vfe_device *vfe_dev,
		vfe_dev->hw_info->stats_hw_info->num_stats_comp_mask;
	rc = vfe_dev->hw_info->vfe_ops.stats_ops.check_streams(
		stats_data->stream_info);
	if (rc < 0)
	if (rc < 0) {
		mutex_unlock(&vfe_dev->buf_mgr->lock);
		return rc;
	}

	for (i = 0; i < stream_cfg_cmd->num_streams; i++) {
		idx = STATS_IDX(stream_cfg_cmd->stream_handle[i]);