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

Commit 9026dd01 authored by George Shen's avatar George Shen
Browse files

msm: cvp: Remove incorrect error message



There are use cases CVP device is opened, but not used.
Closing CVP device in these cases shall not trigger
error messages.

Change-Id: Idf55bd14b466e62fa3a29e6d512f66cd5892e81f
Signed-off-by: default avatarGeorge Shen <sqiao@codeaurora.org>
parent 6dd81d1e
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -2055,10 +2055,8 @@ int msm_cvp_session_deinit(struct msm_cvp_inst *inst)
		inst, hash32_ptr(inst->session));

	session = (struct cvp_hal_session *)inst->session;
	if (!session) {
		dprintk(CVP_ERR, "%s: invalid session\n", __func__);
		return -EINVAL;
	}
	if (!session)
		return rc;

	rc = msm_cvp_comm_try_state(inst, MSM_CVP_CLOSE_DONE);
	if (rc)