OSDN Git Service

rtw89: use pci_read/write_config instead of dbi read/write
authorChin-Yen Lee <timlee@realtek.com>
Fri, 21 Jan 2022 07:55:55 +0000 (15:55 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 28 Jan 2022 15:58:27 +0000 (17:58 +0200)
commitdb38d9cd26c95c4e6ddeff68604291857ca5760a
tree145c34418378e0c74dd2c732b117282ed06d2066
parent1c2423deda1c19e350bf7e7c148e2772a461a0af
rtw89: use pci_read/write_config instead of dbi read/write

In the past we use dbi function of wifi mac to read/write
pci config space, but the function will be remove in new
chip. So use kernel api pci_read/write_config_byte instead.

Signed-off-by: Chin-Yen Lee <timlee@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/20220121075555.12457-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/pci.c