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

Commit caa945c1 authored by Maya Erez's avatar Maya Erez
Browse files

wil6210: prevent access to RGF_CAF_ICR in Talyn



Due to access control RGF_CAF_ICR cannot be accessed by host.
Such an access will cause device AHB logger to halt and it will not
capture future AHB fault if there is any.

Change-Id: I9c9eddb4c059241ad7404f971c2eda6c75e01658
Signed-off-by: default avatarMaya Erez <merez@codeaurora.org>
parent 9447b885
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1571,11 +1571,6 @@ static void wil_pre_fw_config(struct wil6210_priv *wil)
	if (wil->hw_version < HW_VER_TALYN_MB) {
		wil_s(wil, RGF_CAF_ICR + offsetof(struct RGF_ICR, ICR), 0);
		wil_w(wil, RGF_CAF_ICR + offsetof(struct RGF_ICR, IMV), ~0);
	} else {
		wil_s(wil,
		      RGF_CAF_ICR_TALYN_MB + offsetof(struct RGF_ICR, ICR), 0);
		wil_w(wil, RGF_CAF_ICR_TALYN_MB +
		      offsetof(struct RGF_ICR, IMV), ~0);
	}
	/* clear PAL_UNIT_ICR (potential D0->D3 leftover)
	 * In Talyn-MB host cannot access this register due to