Merge "msm: ipa: Workaround for MHI target"

This commit is contained in:
qctecmdr
2021-05-04 19:03:59 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -5692,12 +5692,14 @@ void ipa3_disable_clks(void)
* issue on GSI FW side. We need to capture before * issue on GSI FW side. We need to capture before
* turn off the ipa clock. * turn off the ipa clock.
*/ */
type = gsi_pending_irq_type(); if (!ipa3_ctx->ipa_config_is_mhi) {
if (type) { type = gsi_pending_irq_type();
IPAERR("unexpected gsi irq type: %d\n", type); if (type) {
/* increase ipa3_active_clients for smp2p response */ IPAERR("unexpected gsi irq type: %d\n", type);
atomic_inc(&ipa3_ctx->ipa3_active_clients.cnt); /* increase ipa3_active_clients for smp2p response */
ipa_assert(); atomic_inc(&ipa3_ctx->ipa3_active_clients.cnt);
ipa_assert();
}
} }
ipa3_ctx->ctrl->ipa3_disable_clks(); ipa3_ctx->ctrl->ipa3_disable_clks();