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

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

Merge "vidc_3x: Return EBUSY if mbpf check fails"

parents 88bb532b 48da1d42
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5056,7 +5056,7 @@ static int msm_vidc_check_mbpf_supported(struct msm_vidc_inst *inst)
	mutex_unlock(&core->lock);
	if (mbpf > 2*capability->mbs_per_frame.max) {
		msm_vidc_print_running_insts(inst->core);
		return -ENOMEM;
		return -EBUSY;
	}

	return 0;