Merge "msm: ipa3: Fix to handle right error code"
diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa.c b/drivers/platform/msm/ipa/ipa_v3/ipa.c
index 38dca1e..771950b 100644
--- a/drivers/platform/msm/ipa/ipa_v3/ipa.c
+++ b/drivers/platform/msm/ipa/ipa_v3/ipa.c
@@ -6774,7 +6774,7 @@
*/
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);