summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Huang <echuang@realtek.com>2026-03-25 10:21:28 +0300
committerPing-Ke Shih <pkshih@realtek.com>2026-03-30 05:29:05 +0300
commite0b88e052e4c6ca5789c61cef00a90caf08cfc08 (patch)
treeef6dde724e73a5f0ff73c7407031c3709f557b16
parentce945fb377ce8620272536d734c99064de91dfd0 (diff)
downloadlinux-e0b88e052e4c6ca5789c61cef00a90caf08cfc08.tar.xz
wifi: rtw89: phy: expand PHY page for RTL8922D
PHY page range is to define offset from PHY0 to PHY1, and RTL8922D needs to expand page to 0x2E0. Signed-off-by: Eric Huang <echuang@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20260325072130.41751-7-pkshih@realtek.com
-rw-r--r--drivers/net/wireless/realtek/rtw89/phy_be.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/phy_be.c b/drivers/net/wireless/realtek/rtw89/phy_be.c
index 08fd24a55d85..929fac1b10d2 100644
--- a/drivers/net/wireless/realtek/rtw89/phy_be.c
+++ b/drivers/net/wireless/realtek/rtw89/phy_be.c
@@ -199,7 +199,7 @@ static u32 rtw89_phy0_phy1_offset_be_v1(struct rtw89_dev *rtwdev, u32 addr)
(phy_page >= 0x240 && phy_page <= 0x24f) ||
(phy_page >= 0x260 && phy_page <= 0x26f) ||
(phy_page >= 0x2C0 && phy_page <= 0x2C9) ||
- (phy_page >= 0x2E4 && phy_page <= 0x2E8) ||
+ (phy_page >= 0x2E0 && phy_page <= 0x2E8) ||
phy_page == 0x2EE)
ofst = 0x1000;
else