Skip to contentSkip to conversation

wifi: rtw89: 8852be: enable CLKREQ of PCI capability

PATCH In review Ping-Ke Shih 2 participants 2 messages Jan 26, 2023 – Feb 13, 2023 Realtek wireless driver (rtw89)

lore
Share & tools
lore

Ping-Ke Shih

author maintainer
#0 lore raw

PATCH 1/1 wifi: rtw89: 8852be: enable CLKREQ of PCI capability

From: Chin-Yen Lee <[email protected]>

Enable CLKREQ to reduce power consumption for 8852BE.

---
 drivers/net/wireless/realtek/rtw89/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/realtek/rtw89/pci.c +1 -1
index 0ea734c81b4f0..ec8bb5f10482e 100644
@@ -3398,7 +3398,7 @@ static void rtw89_pci_clkreq_set(struct rtw89_dev *rtwdev, bool enable)
 	if (ret)
 		rtw89_err(rtwdev, "failed to set CLKREQ Delay\n");
 
-	if (chip_id == RTL8852A) {
+	if (chip_id == RTL8852A || chip_id == RTL8852B) {
 		if (enable)
 			ret = rtw89_pci_config_byte_set(rtwdev,
 							RTW89_PCIE_L1_CTRL,
Signature · 1 line
2.25.1
#1 lore raw
Quoted 6 lines · Ping-Ke Shih

From: Chin-Yen Lee <[email protected]>

Enable CLKREQ to reduce power consumption for 8852BE.

Patch applied to wireless-next.git, thanks.

3712888e3dba wifi: rtw89: 8852be: enable CLKREQ of PCI capability

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches