Browse Source

Merge "msm: ipa3: Changes not allow ODL pipe setup during SSR"

qctecmdr 3 years ago
parent
commit
0c29e06313
1 changed files with 5 additions and 0 deletions
  1. 5 0
      drivers/platform/msm/ipa/ipa_v3/ipa_odl.c

+ 5 - 0
drivers/platform/msm/ipa/ipa_v3/ipa_odl.c

@@ -372,6 +372,11 @@ int ipa3_odl_pipe_open(void)
 		return 0;
 	}
 
+	if (atomic_read(&ipa3_ctx->is_ssr)) {
+		IPAERR("SSR in progress ODL pipe configuration not allowed\n");
+		return 0;
+	}
+
 	memset(&holb_cfg, 0, sizeof(holb_cfg));
 	holb_cfg.tmr_val = 0;
 	holb_cfg.en = 1;