rtw88: coex: 8821c: correct antenna switch function
authorGuo-Feng Fan <vincent_fann@realtek.com>
Tue, 2 Feb 2021 05:50:10 +0000 (13:50 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 8 Feb 2021 10:51:31 +0000 (12:51 +0200)
commitadba838af159914eb98fcd55bfd3a89c9a7d41a8
tree058680080d96e6f433cb175a5a1b3cc26afa4b29
parent711fa16f1dfe1a521dff48f49a95504eeafffa66
rtw88: coex: 8821c: correct antenna switch function

This patch fixes a defect that uses incorrect function to access
registers. Use 8 and 32 bit access function to access 8 and 32 bit long
data respectively.

Signed-off-by: Guo-Feng Fan <vincent_fann@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210202055012.8296-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/rtw8821c.c