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

Commit 475735e7 authored by Amir Levy's avatar Amir Levy
Browse files

msm: ipa3: don't check offset_entry when using DDR address



Checking offset_entry is not necessary when using DDR addresses.
Check offset_entry only when using header tables.

CRs-fixed: 1041515
Change-Id: I4b3e44bda6ee05932a7de66e1e7cea300936f982
Signed-off-by: default avatarAmir Levy <alevy@codeaurora.org>
parent 400520a6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1213,7 +1213,8 @@ int ipahal_cp_proc_ctx_to_hw_buff(enum ipa_hdr_proc_type type,
	if (!base ||
		!hdr_len ||
		(!phys_base && !hdr_base_addr) ||
		!hdr_base_addr || !offset_entry) {
		!hdr_base_addr ||
		((is_hdr_proc_ctx == false) && !offset_entry)) {
		IPAHAL_ERR("failed on validating params");
		return -EINVAL;
	}