Quellcode durchsuchen

msm: ipa: workaround to ignore gsi pending irq type for XR platform

remove the gsi pending irq check for xr platform as we are observing
discrete ieob irq set for wdi use case and in a way it is taken care
by msi interrupts.

Change-Id: I306cad1f63cd9cf156567fc6b0cb210f7bf0152c
Signed-off-by: Jagadeesh Ponduru <[email protected]>
Jagadeesh Ponduru vor 7 Monaten
Ursprung
Commit
528993cef4
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      drivers/platform/msm/ipa/ipa_v3/ipa.c

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

@@ -6789,7 +6789,7 @@ void ipa3_disable_clks(void)
 	 * issue on GSI FW side. We need to capture before
 	 * turn off the ipa clock.
 	 */
-	if (!ipa3_ctx->ipa_config_is_mhi) {
+	if (!ipa3_ctx->ipa_config_is_mhi || (ipa3_ctx->platform_type != IPA_PLAT_TYPE_XR)) {
 		type = gsi_pending_irq_type();
 		if (type != -EPERM && type) {
 			IPAERR("unexpected gsi irq type: %d\n", type);