Răsfoiți Sursa

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

QCTECMDR Service 6 luni în urmă
părinte
comite
605f49f27d
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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
 	 * issue on GSI FW side. We need to capture before
 	 * turn off the ipa clock.
 	 * 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();
 		type = gsi_pending_irq_type();
 		if (type != -EPERM && type) {
 		if (type != -EPERM && type) {
 			IPAERR("unexpected gsi irq type: %d\n", type);
 			IPAERR("unexpected gsi irq type: %d\n", type);