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

Commit 9d04b623 authored by Mohammed Javid's avatar Mohammed Javid Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa4: gsi: Remove WA of resetting gsi channel



Remove second reset of gsi channel on IPA PROD
end point, since the hardware level issue is fixed
from gsi-2.0.

Change-Id: Icc77577194f4124a6fd90b173af16f3bb51d73b6
Signed-off-by: default avatarMohammed Javid <mjavid@codeaurora.org>
parent 043b53f2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2213,6 +2213,10 @@ int gsi_reset_channel(unsigned long chan_hdl)
		BUG();
	}

	/* Hardware issue fixed from GSI 2.0 and no need for the WA */
	if (gsi_ctx->per.ver >= GSI_VER_2_0)
		reset_done = true;

	/* workaround: reset GSI producers again */
	if (ctx->props.dir == GSI_CHAN_DIR_FROM_GSI && !reset_done) {
		usleep_range(GSI_RESET_WA_MIN_SLEEP, GSI_RESET_WA_MAX_SLEEP);