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

Commit 97fa9e48 authored by Junzhe Zou's avatar Junzhe Zou Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: lrme: unlock mutex in error condition



Unlock hw mutex in LRME stop error condition.

Change-Id: I3fae092b5ece603731fe5595c699f2ca4ffe51af
Signed-off-by: default avatarJunzhe Zou <jnzhezou@codeaurora.org>
parent c2e34c82
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -895,7 +895,7 @@ int cam_lrme_hw_stop(void *hw_priv, void *hw_stop_args, uint32_t arg_size)
		lrme_core->state = CAM_LRME_CORE_STATE_INIT;
	} else {
		CAM_ERR(CAM_LRME, "HW in wrong state %d", lrme_core->state);
		return -EINVAL;
		rc = -EINVAL;
	}

unlock: