wifi: rtw89: coex: Combine set grant WL/BT and correct the debug log
authorChing-Te Ku <ku920601@realtek.com>
Tue, 13 Sep 2022 09:25:46 +0000 (17:25 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 19 Sep 2022 10:01:38 +0000 (13:01 +0300)
commit435f87d088e5b921018fb8b909ba01f298bb42b3
tree32a9e7f15854c029b7117d4ba9a9045054543184
parentc918f5f49fcd45250959f6eb71bd95cb1695951a
wifi: rtw89: coex: Combine set grant WL/BT and correct the debug log

To reduce register IO, combine set_gnt_wl/set_gnt_bt to set the same
register one time. Because RTL8852C use different register to control
antenna path, so make correction of path control related debug logs.

Signed-off-by: Ching-Te Ku <ku920601@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/20220913092546.43722-8-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/coex.c
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/reg.h