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

Commit 097a4f89 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 in error case in ISP driver"

parents 84abce91 91da2389
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1172,6 +1172,8 @@ int msm_isp_close_node(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh)
	if (!vfe_dev->vfe_open_cnt) {
		pr_err("%s invalid state open cnt %d\n", __func__,
			vfe_dev->vfe_open_cnt);
		mutex_unlock(&vfe_dev->core_mutex);
		mutex_unlock(&vfe_dev->realtime_mutex);
		return -EINVAL;
	}