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

Commit f4ebe15f authored by Vasantha Balla's avatar Vasantha Balla
Browse files

vidc: Return EBUSY if mbpf check fails



Driver should return EBUSY as HAL checks for
this to return insufficient resources error
to client.

Change-Id: I2392953affc71e8b7e314a51ace349320d81562c
Signed-off-by: default avatarVasantha Balla <quic_vballa@quicinc.com>
parent 942a41f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5818,7 +5818,7 @@ static int msm_vidc_check_mbpf_supported(struct msm_vidc_inst *inst)

	if (mbpf > core->resources.max_mbpf) {
		msm_vidc_print_running_insts(inst->core);
		return -ENOMEM;
		return -EBUSY;
	}

	return 0;