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

Commit 7322d91d 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 holb sequence for SSR"

parents b58f44c1 7bccd28e
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -2091,6 +2091,12 @@ static void ipa3_q6_avoid_holb(void)
			if (ep_idx == -1)
				continue;

			/* from IPA 4.0 pipe suspend is not supported */
			if (ipa3_ctx->ipa_hw_type < IPA_HW_v4_0)
				ipahal_write_reg_n_fields(
				IPA_ENDP_INIT_CTRL_n,
				ep_idx, &ep_suspend);

			/*
			 * ipa3_cfg_ep_holb is not used here because we are
			 * setting HOLB on Q6 pipes, and from APPS perspective
@@ -2103,10 +2109,6 @@ static void ipa3_q6_avoid_holb(void)
			ipahal_write_reg_n_fields(
				IPA_ENDP_INIT_HOL_BLOCK_EN_n,
				ep_idx, &ep_holb);

			ipahal_write_reg_n_fields(
				IPA_ENDP_INIT_CTRL_n,
				ep_idx, &ep_suspend);
		}
	}
}