|
@@ -4130,9 +4130,14 @@ void ipa3_q6_pre_shutdown_cleanup(void)
|
|
|
if (!ipa3_ctx->ipa_endp_delay_wa)
|
|
|
ipa3_q6_pipe_delay(true);
|
|
|
ipa3_q6_avoid_holb();
|
|
|
- if (ipa3_ctx->ipa_config_is_mhi)
|
|
|
+ if (ipa3_ctx->ipa_config_is_mhi) {
|
|
|
ipa3_set_reset_client_cons_pipe_sus_holb(true,
|
|
|
IPA_CLIENT_MHI_CONS);
|
|
|
+ if (ipa3_ctx->ipa_config_is_auto)
|
|
|
+ ipa3_set_reset_client_cons_pipe_sus_holb(true,
|
|
|
+ IPA_CLIENT_MHI2_CONS);
|
|
|
+ }
|
|
|
+
|
|
|
if (ipa3_q6_clean_q6_tables()) {
|
|
|
IPAERR("Failed to clean Q6 tables\n");
|
|
|
/*
|
|
@@ -4235,9 +4240,15 @@ void ipa3_q6_pre_powerup_cleanup(void)
|
|
|
|
|
|
IPA_ACTIVE_CLIENTS_INC_SIMPLE();
|
|
|
|
|
|
- if (ipa3_ctx->ipa_config_is_mhi)
|
|
|
- ipa3_set_reset_client_prod_pipe_delay(true,
|
|
|
- IPA_CLIENT_MHI_PROD);
|
|
|
+ if (ipa3_ctx->ipa_config_is_mhi) {
|
|
|
+ if (!ipa3_ctx->ipa_endp_delay_wa) {
|
|
|
+ ipa3_set_reset_client_prod_pipe_delay(true,
|
|
|
+ IPA_CLIENT_MHI_PROD);
|
|
|
+ if (ipa3_ctx->ipa_config_is_auto)
|
|
|
+ ipa3_set_reset_client_prod_pipe_delay(true,
|
|
|
+ IPA_CLIENT_MHI2_PROD);
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
IPA_ACTIVE_CLIENTS_DEC_SIMPLE();
|
|
|
IPADBG_LOW("Exit with success\n");
|