]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: 8822c: config RF table path B before path A
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Wed, 18 Mar 2020 09:52:24 +0000 (17:52 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 23 Mar 2020 17:33:49 +0000 (19:33 +0200)
commit666cb874f113da94b1586c316c57cc8bafcfd124
treeeb9f331d097b6c0272952dc58386225a5324dde2
parent19ca33b46cf0a7b40b9d675b399cd6e61d5b4923
rtw88: 8822c: config RF table path B before path A

After MAC switched power, the hardware's RF registers will have
its default value, but the default value for path B is incorrect.
So, load RF path B first, to decrease the period between MAC on
and RF path B config.

By test, if we load path A first, then there's ~300ms that the
path B is incorrect, it could lead to BT coex's A2DP glitch.
But if we configure path B first, there will only have ~3ms,
significantly lower possibility to have A2DP sound glitch.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200318095224.12940-1-yhchuang@realtek.com
drivers/net/wireless/realtek/rtw88/rtw8822c.c