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

Commit 180c89a7 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "wil6210: disable sensing when support_sensing_over_spi is unset"

parents ff98dbb5 4d7ab821
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1719,6 +1719,9 @@ int wil_reset(struct wil6210_priv *wil, bool load_fw)
		wil_dbg_misc(wil, "notify FW to enable SPI for sensing\n");
		wil_s(wil, RGF_USER_USAGE_6, BIT_SPI_SENSING_SUPPORT);
		wmi_reset_spi_slave(wil);
	} else {
		wil_dbg_misc(wil, "notify FW to disable SPI for sensing\n");
		wil_c(wil, RGF_USER_USAGE_6, BIT_SPI_SENSING_SUPPORT);
	}

	if (wil->platform_ops.notify) {