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

Commit c66dd9ba authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge 942a41f5 on remote branch

Change-Id: I5d8ee35f78e20e662660eec72e153efd5c97c618
parents b66a36f3 942a41f5
Loading
Loading
Loading
Loading
+3 −3
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 -EBUSY;
		return -ENOMEM;
	}

	return 0;
@@ -5915,7 +5915,7 @@ int msm_comm_check_memory_supported(struct msm_vidc_inst *vidc_inst)
			"%s: video mem overshoot - reached %llu MB, max_limit %llu MB\n",
			__func__, total_mem_size >> 20, memory_limit_mbytes);
		msm_comm_print_insts_info(core);
		return -EBUSY;
		return -ENOMEM;
	}

	if (!is_secure_session(vidc_inst)) {
@@ -5930,7 +5930,7 @@ int msm_comm_check_memory_supported(struct msm_vidc_inst *vidc_inst)
				"%s: insufficient device addr space, required %llu, available %llu\n",
				__func__, non_sec_mem_size, non_sec_cb_size);
			msm_comm_print_insts_info(core);
			return -EINVAL;
			return -ENOMEM;
		}
	}