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

Commit 76078ca8 authored by Maya Erez's avatar Maya Erez Committed by Lior David
Browse files

wil6210: do not set BIT_USER_SUPPORT_T_POWER_ON_0 in Talyn-MB



In Sparrow, FW might sleep long time due to T_Power_On calculation
in slow clock, so T_Power_On was set to zero to shorten the L1SS
wake-up time.
In Talyn-MB the L1SS wake-up procedure is handled by the PMU (HW),
hence T_Power_On calculation is accurate and should not be forced
to zero.

Change-Id: I11d6c76c07a2058362863e2ce30eb9148956145f
Signed-off-by: default avatarMaya Erez <merez@codeaurora.org>
[liord@codeaurora.org: trivial merge conflict]
Signed-off-by: default avatarLior David <liord@codeaurora.org>
parent ac6c786f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1595,7 +1595,8 @@ int wil_reset(struct wil6210_priv *wil, bool load_fw)
	if (wil->hw_version == HW_VER_UNKNOWN)
		return -ENODEV;

	if (test_bit(WIL_PLATFORM_CAPA_T_PWR_ON_0, wil->platform_capa)) {
	if (test_bit(WIL_PLATFORM_CAPA_T_PWR_ON_0, wil->platform_capa) &&
	    wil->hw_version < HW_VER_TALYN_MB) {
		wil_dbg_misc(wil, "Notify FW to set T_POWER_ON=0\n");
		wil_s(wil, RGF_USER_USAGE_8, BIT_USER_SUPPORT_T_POWER_ON_0);
	}