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

Commit e49c3a57 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: skip init clock and bus data entry for cvp session"

parents 0bea22ac 2edbed68
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -980,6 +980,12 @@ int msm_comm_init_clocks_and_bus_data(struct msm_vidc_inst *inst)
				__func__, inst);
		return -EINVAL;
	}

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

	count = inst->core->resources.codec_data_count;
	fourcc = inst->session_type == MSM_VIDC_DECODER ?
		inst->fmts[OUTPUT_PORT].fourcc :