OSDN Git Service

wifi: rtw89: pci: fix PCI PHY auto adaption by using software restore
authorChia-Yuan Li <leo.li@realtek.com>
Fri, 19 Aug 2022 06:48:09 +0000 (14:48 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 2 Sep 2022 08:35:51 +0000 (11:35 +0300)
commit8f308ae3342c57dca02bea97ec7a894417d13a0a
tree339abc86d4eed3bf4575a1c5a62b501ff4dfc105
parent704052f55ffeb217634075b201785b13ebaa131e
wifi: rtw89: pci: fix PCI PHY auto adaption by using software restore

There is chance that PCI PHY auto adaption fail. When first time boot up,
software restore the right adaption value and close PHY auto adaption
mechanism.

Signed-off-by: Chia-Yuan Li <leo.li@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/20220819064811.37700-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/pci.c
drivers/net/wireless/realtek/rtw89/pci.h
drivers/net/wireless/realtek/rtw89/reg.h