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

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

Merge "msm: vidc: fix error handling during hardware overload error"

parents c99b8972 1dc89d34
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -2727,19 +2727,19 @@ static int venus_hfi_session_end(void *session)
	return rc;
}

static int venus_hfi_session_abort(void *session)
static int venus_hfi_session_abort(void *sess)
{
	struct hal_session *sess;
	struct hal_session *session;
	struct venus_hfi_device *device;
	int rc = 0;
	session = sess;

	if (!session) {
	if (!session || !session->device) {
		dprintk(VIDC_ERR, "Invalid Params %s\n", __func__);
		return -EINVAL;
	}

	sess = session;
	device = sess->device;
	device = session->device;

	mutex_lock(&device->lock);

@@ -2749,7 +2749,6 @@ static int venus_hfi_session_abort(void *session)
	mutex_unlock(&device->lock);

	return rc;

}

static int venus_hfi_session_set_buffers(void *sess,