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

Commit f2ec9122 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: 1038719
Change-Id: I4b3e44bda6ee05932a7de66e1e7cea300936f982
Signed-off-by: default avatarAmir Levy <alevy@codeaurora.org>
parent b79cfe22
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1207,7 +1207,8 @@ void 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("failure on parameters\n");
		BUG();
	}