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

Commit 73243a57 authored by Dikshita Agarwal's avatar Dikshita Agarwal
Browse files

msm-vidc: don't update capabilities for CVP session



Video driver don't define capabilities for cvp, so avoid
calling update capabilities for cvp domain.

Change-Id: I42eb7680b8075405e19b289482392c437bc48032
Signed-off-by: default avatarDikshita Agarwal <dikshita@codeaurora.org>
parent 3152012b
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -1480,13 +1480,6 @@ static void handle_session_init_done(enum hal_command_response cmd, void *data)
		goto error;
	}

	if (inst->session_type == MSM_VIDC_CVP) {
		s_vpr_h(inst->sid, "%s: cvp session\n", __func__);
		signal_session_msg_receipt(cmd, inst);
		put_inst(inst);
		return;
	}

	s_vpr_l(inst->sid, "handled: SESSION_INIT_DONE\n");
	signal_session_msg_receipt(cmd, inst);
	put_inst(inst);
@@ -1513,6 +1506,11 @@ static int msm_comm_update_capabilities(struct msm_vidc_inst *inst)
		return -EINVAL;
	}

	if (inst->session_type == MSM_VIDC_CVP) {
		s_vpr_h(inst->sid, "%s: cvp session\n", __func__);
		return 0;
	}

	core = inst->core;
	codec = get_v4l2_codec(inst);