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

Commit ddbb8a84 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa3: fix condition tested on ipahal wrapper"

parents 29eefdb3 60a2f333
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1204,10 +1204,13 @@ void ipahal_cp_proc_ctx_to_hw_buff(enum ipa_hdr_proc_type type,
			, type, base, offset, hdr_len, is_hdr_proc_ctx,
			hdr_base_addr, offset_entry);

	BUG_ON(!base ||
	if (!base ||
		!hdr_len ||
		(!phys_base && !hdr_base_addr) ||
		!hdr_base_addr || offset_entry);
		!hdr_base_addr || !offset_entry) {
		IPAHAL_ERR("failure on parameters\n");
		BUG();
	}

	hdr_funcs.ipahal_cp_proc_ctx_to_hw_buff(type, base, offset,
			hdr_len, is_hdr_proc_ctx, phys_base,