Message ID | 20230126112715.5811-1-pkshih@realtek.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 3712888e3dba5df2b4f3fb3ba87e20bac6afc7c0 |
Delegated to: | Kalle Valo |
Headers | show |
Series | wifi: rtw89: 8852be: enable CLKREQ of PCI capability | expand |
Ping-Ke Shih <pkshih@realtek.com> wrote: > From: Chin-Yen Lee <timlee@realtek.com> > > 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> Patch applied to wireless-next.git, thanks. 3712888e3dba wifi: rtw89: 8852be: enable CLKREQ of PCI capability
diff --git a/drivers/net/wireless/realtek/rtw89/pci.c b/drivers/net/wireless/realtek/rtw89/pci.c index 0ea734c81b4f0..ec8bb5f10482e 100644 --- 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,