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

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

Merge "msm: ipa: add IPA HW version check before setting BCR value"

parents e92aa60f 0dcf75df
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -700,6 +700,7 @@ int ipa_init_hw(void)
		return -EFAULT;

	/* set ipa_bcr to 0xFFFFFFFF for using new IPA behavior */
	if (ipa_ctx->ipa_hw_type == IPA_HW_v2_5)
		ipa_write_reg(ipa_ctx->mmio, IPA_BCR_OFST, IPA_BCR_REG_VAL);

	return 0;
@@ -2356,7 +2357,6 @@ int ipa_cfg_ep_ctrl(u32 clnt_hdl, const struct ipa_ep_cfg_ctrl *ep_ctrl)
}
EXPORT_SYMBOL(ipa_cfg_ep_ctrl);


const char *ipa_get_mode_type_str(enum ipa_mode_type mode)
{
	switch (mode) {