projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7410bd7
)
wifi: rtw89: 8852be: enable CLKREQ of PCI capability
author
Chin-Yen Lee
<timlee@realtek.com>
Thu, 26 Jan 2023 11:27:15 +0000
(19:27 +0800)
committer
Kalle Valo
<kvalo@kernel.org>
Mon, 13 Feb 2023 17:18:26 +0000
(19:18 +0200)
Enable CLKREQ to reduce power consumption for 8852BE.
Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link:
https://lore.kernel.org/r/20230126112715.5811-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/pci.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/realtek/rtw89/pci.c
b/drivers/net/wireless/realtek/rtw89/pci.c
index 0ea734c81b4f001a2b78c0d2bd3c89006aeaf3ef..ec8bb5f10482ed663369cd26f93bbeb00802f269 100644
(file)
--- a/
drivers/net/wireless/realtek/rtw89/pci.c
+++ b/
drivers/net/wireless/realtek/rtw89/pci.c
@@
-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,