Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c348e3f authored by Ashok Vuyyuru's avatar Ashok Vuyyuru
Browse files

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



When SSR in progress not allowing to setup ODL pipe.

Change-Id: Ied44a7bafdf90cff2f3b7619da88fe3c31d18956
Signed-off-by: default avatarAshok Vuyyuru <quic_avuyyuru@quicinc.com>
parent 1ed7eace
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -366,6 +366,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;