Skip to content

Commit 3be1141

Browse files
Ping-Ke ShihKalle Valo
authored andcommitted
wifi: rtw89: 8852c: rfk: correct miscoding delay of DPK
Using mdelay() can work well, but calibration causes too much time. Use proper udelay() to get shorter time and the same result. Signed-off-by: Ping-Ke Shih <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 68b0ce5 commit 3be1141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1666,7 +1666,7 @@ static u8 _dpk_one_shot(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
16661666

16671667
ret = read_poll_timeout_atomic(rtw89_phy_read32_mask, val, val == 0x55,
16681668
10, 20000, false, rtwdev, 0xbff8, MASKBYTE0);
1669-
mdelay(10);
1669+
udelay(10);
16701670
rtw89_phy_write32_clr(rtwdev, R_NCTL_N1, MASKBYTE0);
16711671

16721672
rtw89_debug(rtwdev, RTW89_DBG_RFK,

0 commit comments

Comments
 (0)