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

Commit fef93c87 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: Avoid setting internal scratch buffers if not required"

parents affd65f5 38dd6b29
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1638,6 +1638,8 @@ static int set_max_internal_buffers_size(struct msm_vidc_inst *inst)
			get_buff_req_buffer(inst, internal_buffers[i].type);
		internal_buffers[i].size = internal_buffers[i].req ?
			internal_buffers[i].req->buffer_size : 0;
		if (internal_buffers[i].req == NULL)
			continue;

		rc = allocate_and_set_internal_bufs(inst,
					internal_buffers[i].req,