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

Commit 6b8a6456 authored by Suresh Vankadara's avatar Suresh Vankadara Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: lrme: Handle release lock when returning from error case"...

Merge "msm: camera: lrme: Handle release lock when returning from error case" into dev/msm-4.14-camx
parents 374d1d84 500d13b9
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -955,7 +955,8 @@ int cam_lrme_hw_submit_req(void *hw_priv, void *hw_submit_args,

	if (lrme_core->req_submit != NULL) {
		CAM_ERR(CAM_LRME, "req_submit is not NULL");
		return -EBUSY;
		rc = -EBUSY;
		goto error;
	}

	rc = cam_lrme_hw_util_submit_req(lrme_core, frame_req);