]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d3a41367b8ca62de63a869fb1a07dab74a5c4b1
tree339abc86d4eed3bf4575a1c5a62b501ff4dfc105
parentf25bb019ede422ace35cc70607bb8cc6e9695782
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