Skip to content

Commit 68b0ce5

Browse files
Ping-Ke ShihKalle Valo
authored andcommitted
wifi: rtw89: 8852c: correct set of IQK backup registers
IQK can change the values of this register set, so need to backup and restore the values. During we rewrite IQK, the policy is changed. Some values are controlled and filled by IQK, and don't need to restore after IQK. Therefore, remove this kind of registers from this array. 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 1562bde commit 68b0ce5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ static const u32 _tssi_de_mcs_5m[RF_PATH_NUM_8852C] = {0x5828, 0x7828};
2222
static const u32 _tssi_de_mcs_10m[RF_PATH_NUM_8852C] = {0x5830, 0x7830};
2323

2424
static const u32 rtw8852c_backup_bb_regs[] = {
25-
0x813c, 0x8124, 0x8120, 0xc0d4, 0xc0d8, 0xc0e8, 0x823c, 0x8224, 0x8220,
26-
0xc1d4, 0xc1d8, 0xc1e8
25+
0x8120, 0xc0d4, 0xc0d8, 0xc0e8, 0x8220, 0xc1d4, 0xc1d8, 0xc1e8
2726
};
2827

2928
static const u32 rtw8852c_backup_rf_regs[] = {

0 commit comments

Comments
 (0)