Explorar el Código

Merge "msm: ipa3: Fix to handle right error code"

qctecmdr hace 1 año
padre
commit
2bf4557940
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/platform/msm/ipa/ipa_v3/ipa.c

+ 1 - 1
drivers/platform/msm/ipa/ipa_v3/ipa.c

@@ -6785,7 +6785,7 @@ void ipa3_disable_clks(void)
 	 */
 	if (!ipa3_ctx->ipa_config_is_mhi) {
 		type = gsi_pending_irq_type();
-		if (type) {
+		if (type != -EPERM && type) {
 			IPAERR("unexpected gsi irq type: %d\n", type);
 			/* increase ipa3_active_clients for smp2p response */
 			atomic_inc(&ipa3_ctx->ipa3_active_clients.cnt);